[webkit-changes] [WebKit/WebKit] 71e1a4: [JSC] Add Intl Calendar canonicalization for some ...

Yusuke Suzuki noreply at github.com
Thu Dec 19 20:52:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 71e1a467aed10d02a813801249fe37e48203ef05
      https://github.com/WebKit/WebKit/commit/71e1a467aed10d02a813801249fe37e48203ef05
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M JSTests/test262/expectations.yaml
    M Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp
    M Source/JavaScriptCore/runtime/IntlObject.cpp

  Log Message:
  -----------
  [JSC] Add Intl Calendar canonicalization for some patterns
https://bugs.webkit.org/show_bug.cgi?id=285000
rdar://141792829

Reviewed by Yijia Huang.

Add calendar canonicalization logic to Intl DateTimeFormat.

1. Ca keyword needs to be lower case converted before resolving.
2. islamicc should be canonicalized to islamic-civil

* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp:
(JSC::IntlDateTimeFormat::initializeDateTimeFormat):
* Source/JavaScriptCore/runtime/IntlObject.cpp:
(JSC::mapICUCalendarKeywordToBCP47):
(JSC::mapBCP47ToICUCalendarKeyword):

Canonical link: https://commits.webkit.org/288143@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list