Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1110ee18af6079baeb4144596c30d22b9d1c1625
https://github.com/WebKit/WebKit/commit/1110ee18af6079baeb4144596c30d22b9d1c1625
Author: Keita Nonaka <[email protected]>
Date: 2025-07-18 (Fri, 18 Jul 2025)
Changed paths:
M JSTests/stress/intl-canonical-gmt.js
M JSTests/stress/intl-datetimeformat.js
M JSTests/test262/expectations.yaml
M Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp
Log Message:
-----------
[JSC] Fix Compatibility Issues with `timezone` in `Intl.DateTimeFormat`
https://bugs.webkit.org/show_bug.cgi?id=295856
Reviewed by Darin Adler.
The Intl.DateTimeFormat constructor [1] did not align with the current TC39
specification
regarding the handling of the timeZone option.
This patch implements GetAvailableNamedTimeZoneIdentifier [2] to bring the
behavior
in line with the latest TC39 spec.
[1]: https://tc39.es/ecma402/#sec-createdatetimeformat
[2]: https://tc39.es/ecma402/#sec-getavailablenamedtimezoneidentifier
* JSTests/stress/intl-canonical-gmt.js:
* JSTests/stress/intl-datetimeformat.js:
* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp:
(JSC::availableNamedTimeZoneIdentifier):
(JSC::IntlDateTimeFormat::initializeDateTimeFormat):
(JSC::canonicalizeTimeZoneName): Deleted.
Canonical link: https://commits.webkit.org/297594@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes