Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 239255f394a297fc03bedd089814c8ed11207085
https://github.com/WebKit/WebKit/commit/239255f394a297fc03bedd089814c8ed11207085
Author: Yusuke Suzuki <[email protected]>
Date: 2026-04-21 (Tue, 21 Apr 2026)
Changed paths:
M JSTests/stress/intl-canonical-gmt.js
M JSTests/stress/intl-canonical-iana-time-zone.js
M JSTests/stress/intl-datetimeformat.js
M Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp
M Source/JavaScriptCore/runtime/IntlDateTimeFormat.h
M Source/JavaScriptCore/runtime/IntlObject.cpp
M Source/JavaScriptCore/runtime/IntlObject.h
Log Message:
-----------
[JSC] Intl.DateTimeFormat needs to keep original legacy [[TimeZone]] instead
of primary IANA ID
https://bugs.webkit.org/show_bug.cgi?id=312841
rdar://175206605
Reviewed by Sosuke Suzuki.
>From Time Zone Canonicalization proposal[1], we need to keep
[[TimeZone]] pointing at the non primary ID when it is an input.
This patch fixes the changes so that it behaves as specified.
[1]: https://github.com/tc39/proposal-canonical-tz
* JSTests/stress/intl-canonical-gmt.js:
* JSTests/stress/intl-canonical-iana-time-zone.js:
* JSTests/stress/intl-datetimeformat.js:
* Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp:
(JSC::IntlDateTimeFormat::initializeDateTimeFormat):
(JSC::IntlDateTimeFormat::resolvedOptions const):
* Source/JavaScriptCore/runtime/IntlDateTimeFormat.h:
* Source/JavaScriptCore/runtime/IntlObject.cpp:
(JSC::intlAvailableNamedTimeZone):
(JSC::availableNamedTimeZoneIdentifier): Deleted.
* Source/JavaScriptCore/runtime/IntlObject.h:
Canonical link: https://commits.webkit.org/311724@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications