Open AlimovSV opened 1 month ago
您的邮件已收到,我会尽快给您回复。
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 Australia/Eucla
zone is for a region that isn't officially recognised by the government as having a separate time zone (it's just a bunch of local towns that change their clocks voluntarily), so there isn't any real abbreviation for the zone.
A few years ago, the tzdb maintainers started removing these previously made-up names and replacing them with plain offsets. The change to Australia/Eucla
was done in 2017 (https://github.com/eggert/tz/commit/a25d615495c57081297939b4befe6f9b6bf438ea) and has been in the Moment Timezone data ever since.
Some browsers have chosen to continue using the deprecated, unofficial names for backwards compatibility. That explains why you still see "ACWST" in the Intl.DateTimeFormat
result.
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.
Environment
Issue description
formatted zone name is
+0845
but expectedACWST
Looks like the problem is in the timezone definitions: