Newer
Older
alert / js / node_modules / flarum / common / helpers / humanTime.d.ts
@Réz István Réz István on 18 Nov 2021 275 bytes first commit
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;