DateTimeFormat not returning short version of month in Estonian language
Categories
(Core :: JavaScript: Internationalization API, defect, P3)
Tracking
()
People
(Reporter: luis.lazaro.fp, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0
Steps to reproduce:
var estonian = Intl.DateTimeFormat('et', {month: 'short'});
var english = Intl.DateTimeFormat('en', {month: 'short'});
estonian.format(new Date('Sept 1, 2021'));
english.format(new Date('Sept 1, 2021'));
Actual results:
estonian.format returns "september", while english.format returns "Sep"
Expected results:
estonian.format should have returned short version of the month
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::JavaScript: Internationalization API' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
This is explicitly requested in the underlying CLDR data:
<dateFormatItem id="MMM">MMMM</dateFormatItem>
The short/abbreviated form "MMM" is mapped to the wide form "MMMM". (https://unicode.org/reports/tr35/tr35-dates.html#dfst-month)
This should be reported to the CLDR project, but ultimately the CLDR language vetters for Estonian will have to decide what form to use in this context.
Updated•3 years ago
|
Updated•6 months ago
|
Description
•