Open Bug 1742055 Opened 3 years ago Updated 3 years ago

DateTimeFormat not returning short version of month in Estonian language

Categories

(Core :: JavaScript: Internationalization API, defect, P3)

Firefox 95
defect

Tracking

()

UNCONFIRMED

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

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.

Component: Untriaged → JavaScript: Internationalization API
Product: Firefox → Core

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.

Blocks: sm-runtime
Severity: -- → S4
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.