Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b999ffe770c9f4ca5e8a4f6e67418f3edfd394fb https://github.com/WebKit/WebKit/commit/b999ffe770c9f4ca5e8a4f6e67418f3edfd394fb Author: Yusuke Suzuki <ysuz...@apple.com> Date: 2023-10-18 (Wed, 18 Oct 2023)
Changed paths: M JSTests/test262/expectations.yaml M Source/JavaScriptCore/runtime/ISO8601.cpp M Source/JavaScriptCore/runtime/ISO8601.h M Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp M Source/JavaScriptCore/runtime/IntlDateTimeFormat.h Log Message: ----------- [JSC] Add TimeZoneOffset format support to Intl.DateTimeFormat https://bugs.webkit.org/show_bug.cgi?id=263315 rdar://117124296 Reviewed by Ross Kirsling. Latest spec adds offset-based timeZone option support for Intl.DateTimeFormat. This patch implements it. The example is, "+03:00" => "GMT+0300". See tc39.es/ecma402/#sec-createdatetimeformat steps 32-33. * JSTests/test262/expectations.yaml: * Source/JavaScriptCore/runtime/ISO8601.cpp: (JSC::ISO8601::parseUTCOffsetInMinutes): * Source/JavaScriptCore/runtime/ISO8601.h: * Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp: (JSC::IntlDateTimeFormat::initializeDateTimeFormat): (JSC::IntlDateTimeFormat::createDateIntervalFormatIfNecessary): * Source/JavaScriptCore/runtime/IntlDateTimeFormat.h: Canonical link: https://commits.webkit.org/269497@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes