2021-11-12 03:21:56 +08:00
|
|
|
import dayjs from 'dayjs';
|
2021-05-13 07:29:46 +08:00
|
|
|
/**
|
|
|
|
* The `humanTime` utility converts a date to a localized, human-readable time-
|
|
|
|
* ago string.
|
|
|
|
*/
|
2021-11-12 03:21:56 +08:00
|
|
|
export default function humanTime(time: dayjs.ConfigType): string;
|