Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✍️ v4.0.0, sorry for late! #200

Closed
8 tasks done
hustcc opened this issue Oct 13, 2019 · 1 comment
Closed
8 tasks done

✍️ v4.0.0, sorry for late! #200

hustcc opened this issue Oct 13, 2019 · 1 comment

Comments

@hustcc
Copy link
Owner

hustcc commented Oct 13, 2019

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.

API

import { format, render, cancel, register } from 'timeago.js';

The 3rd parameter of format, render will be opts. Detail in readme on master branch.

/**
 * render / format options
 */
export type Opts = {
  /** the relative date */
  readonly relativeDate?: TDate;
  /** the realtime */
  readonly minInterval?: number;
};
@hustcc hustcc pinned this issue Oct 13, 2019
@hustcc
Copy link
Owner Author

hustcc commented Oct 13, 2019

v4.0.0 released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant