4irbnb

Replicating airbnb following the atomic design principles...

View the Project on GitHub kokiebisu/4irbnb

Home > @nextbnb/utils > DateUtils > formatDateByElapsedTime

DateUtils.formatDateByElapsedTime() method

Signature:

static formatDateByElapsedTime(date: Date): string;

Parameters

Parameter Type Description
date Date  

Returns:

string