[Webkit-unassigned] [Bug 241564] New: Intl.DateTimeFormat returns ethiopic-amete-alem rather than ethioaa for calendar in resolvedOptions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 13 12:11:59 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=241564
Bug ID: 241564
Summary: Intl.DateTimeFormat returns ethiopic-amete-alem rather
than ethioaa for calendar in resolvedOptions
Product: WebKit
Version: Safari 15
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: govett at adobe.com
In Safari, using the ethioaa calendar results in "ethiopic-amete-alem" being returned for the resolved calendar rather than "ethioaa".
> new Intl.DateTimeFormat('en-US-u-ca-ethioaa').resolvedOptions().calendar
"ethiopic-amete-alem"
In Chrome and Firefox, this returns "ethioaa". I believe "ethiopic-amete-alem" is an identifier used by ICU, but the canonical identifier used by CLDR is "ethioaa". Safari seems to be detecting the calendar correctly from the locale, just returning the wrong identifier in resolvedOptions.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220613/fbf65ef0/attachment.htm>
More information about the webkit-unassigned
mailing list