Appearance
web / utils/time / timeAgoDays
Function: timeAgoDays()
timeAgoDays(
isoDate):string
Defined in: utils/time.ts:35
Converts an ISO date string into the number of days elapsed since that date.
Parameters
isoDate
string
The ISO date string to convert.
Returns
string
A string representing the number of days elapsed, e.g., "10 days", "1 day".