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

The library does not support the latest time zone, for example 'Asia/Calcutta'. Please update the time zone list #247

Closed
manishrana87 opened this issue Sep 14, 2020 · 4 comments

Comments

@manishrana87
Copy link

No description provided.

@adwaithhs
Copy link

For the time being u can use 'Asia/Kolkata' instead

@manishrana87
Copy link
Author

Thanks, @AdwaithHSivam I have done that already, but my suggestion was to update the library time zone list so that we don't need to manually write the Zone name.

@jgonera
Copy link

jgonera commented Oct 14, 2020

Another option would be to stop using tz-offset and replace it with built-in Intl.DateTimeFormat which is now pretty widely supported across Node.js and modern browsers: https://caniuse.com/mdn-javascript_builtins_intl_datetimeformat

@merencia
Copy link
Member

I've released a new version, and started using moment-timezone.

#248

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

No branches or pull requests

4 participants