-
Notifications
You must be signed in to change notification settings - Fork 33
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
Depend on Intl.RelativeTimeFormat directly instead of loading 'relative-time-format' library. #21
Comments
@andrejpavlovic Yes, there's currently a rewrite pending that will allow optional importing of the polyfill. |
The RelativeTimeFormat API just got popular on Twitter :) |
@dandv Woow, that's where all those recent stars came from... As an update to this issue, I still haven't started it yet (have had some other things to do). |
is there any news on this rewrite ? |
@stof I guess I should. |
In version The |
Would it be possible to use this library without relative-time-format being a required dependency? I would like to load "relative-time-format" as a polyfill only where necessary, and rely on browser native Intl.RelativeTimeFormat when it is available.
The text was updated successfully, but these errors were encountered: