"internal error while computing Intl data" for "ja-u-ca-japanese" with "era" option
Categories
(Core :: JavaScript: Internationalization API, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | --- | unaffected |
firefox68 | + | fixed |
People
(Reporter: anba, Assigned: anba)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Requesting "era" field for Japanese calendar with Japanese locale throws an error:
js> print(new Intl.DateTimeFormat("ja-u-ca-japanese", {era:"short"}).format(new Date(2019,0,1)))
typein:1:66 Error: internal error while computing Intl data
Stack:
@typein:1:66
No error is thrown for other locales:
js> print(new Intl.DateTimeFormat("en-u-ca-japanese", {era:"short"}).format(new Date(2019,0,1)))
1 1, 31 Heisei
Regression from the ICU update in bug 1533481.
Tentatively setting as depends on bug 1543642, in case the update to ICU 64.2 will fix this bug.
Assignee | ||
Comment 1•6 years ago
|
||
ICU changes the numbering system of date formats which include an era marker
to "jpanyear". "jpanyear" is a rule-based numbering system and therefore the
RBNF data for the Japanese locale now need to be included.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
[Tracking Requested - why for this release]:
Regression from bug 1533481, which will land in Firefox 68. (Currently an inscrutable error is thrown when requesting to display the "era" for Japanese locale with Japanese calendar.)
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4d9d973dcc9d9f3340aba771bc7ed327e4988104
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4802b506ce33
Include RBNF data for Japanese to support Gannen year representation. r=jwalden
Comment 5•6 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•