framework/js/dist-typings/common/utils/humanTime.d.ts

6 lines
158 B
TypeScript
Raw Normal View History

/**
* The `humanTime` utility converts a date to a localized, human-readable time-
* ago string.
*/
export default function humanTime(time: Date): string;