mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
8 lines
275 B
TypeScript
8 lines
275 B
TypeScript
|
import * as Mithril from 'mithril';
|
||
|
/**
|
||
|
* The `humanTime` helper displays a time in a human-friendly time-ago format
|
||
|
* (e.g. '12 days ago'), wrapped in a <time> tag with other information about
|
||
|
* the time.
|
||
|
*/
|
||
|
export default function humanTime(time: Date): Mithril.Vnode;
|