WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
241564
Intl.DateTimeFormat returns ethiopic-amete-alem rather than ethioaa for calendar in resolvedOptions
https://bugs.webkit.org/show_bug.cgi?id=241564
Summary
Intl.DateTimeFormat returns ethiopic-amete-alem rather than ethioaa for calen...
Devon Govett
Reported
2022-06-13 12:11:59 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-06-20 12:12:12 PDT
<
rdar://problem/95548162
>
Yusuke Suzuki
Comment 2
2022-07-06 13:26:47 PDT
This depends on ICU version. And now system ICU version is updated and fixed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug