Opened 6 years ago

Last modified 4 years ago

#18811 new defect

dateFormatItem-MMdd is not defined in base gregorian i18n module but is in others

Reported by: pdfernhout Owned by:
Priority: undecided Milestone: 1.14
Component: Internationalization Version: 1.11.0-rc5
Keywords: Cc:
Blocked By: Blocking:


There are only 17 matches for "dateFormatItem-MMdd" in i18n gregorian versions, and none of them include "cldr/nls/gregorian.js". See:

So, if someone looks at, say, "cldr/nls/de/gregorian.js" where that format happens to be defined, and then tries to use that format in an application, they would likely find the value missing for some other locale potentially producing an error in application code.

While this specific discrepancy could be resolved by adding a default for that format, it points to a possible larger issue in maintaining the i18n code. To detect more such discrepancies, it would be good to have a tool that loads all the i18n files for gregorian (or other i18n "dojo/cldr/nls/" modules) and detects such discrepancies and reports on them -- if such a tool does not exist already?

Change History (2)

comment:1 Changed 5 years ago by dylan

Milestone: tbd1.13

comment:2 Changed 4 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.