Module: util/date

Methods

(inner) howLongAgo(thenText, testNowText) → {string}

Translates the distance between two dates within a month of each other to human readable text

Parameters:
Name Type Description
thenText string

The start date

testNowText string

Ignore, used for testing purposes only.

Source:
Returns:
Type
string