-
Notifications
You must be signed in to change notification settings - Fork 837
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
Format issue: wrong timezone name #1117
Comments
您的邮件已收到,我会尽快给您回复。
|
The abbreviation "ACWST" was originally invented by the lead maintainer of the time zone database, and is not actually the real designation of the zone. The A few years ago, the tzdb maintainers started removing these previously made-up names and replacing them with plain offsets. The change to Some browsers have chosen to continue using the deprecated, unofficial names for backwards compatibility. That explains why you still see "ACWST" in the I'm going to keep this issue open, as a reminder to add some documentation about these cases. This isn't the first time that users have been confused by the offsets appearing as zone names. |
I used moment.tz.guess() to retrieve the current time zone, which returned Asia/Calcutta. However, in the mapping table( Object.keys(zones).forEach(z => { |
您的邮件已收到,我会尽快给您回复。
|
Environment
Issue description
formatted zone name is
+0845
but expectedACWST
Looks like the problem is in the timezone definitions:
The text was updated successfully, but these errors were encountered: