Closed hustcc closed 5 years ago
1 year ago, open the v4.0.0 issue, sorry for late.
4.0.0 will contains below:
Those can be got on beta version v4.0.0-beta.3.
import { format, render, cancel, register } from 'timeago.js';
The 3rd parameter of format, render will be opts. Detail in readme on master branch.
format
render
/** * render / format options */ export type Opts = { /** the relative date */ readonly relativeDate?: TDate; /** the realtime */ readonly minInterval?: number; };
v4.0.0 released.
1 year ago, open the v4.0.0 issue, sorry for late.
4.0.0 will contains below:
API
The 3rd parameter of
format
,render
will be opts. Detail in readme on master branch.