Opened 6 years ago

Last modified 3 years ago

#17322 new defect

dojo/date/locale spec version doesn't match shipped LDML files

Reported by: Stefan Bird Owned by:
Priority: high Milestone: 1.15
Component: Date Version: 1.9.1
Keywords: Cc:
Blocked By: Blocking:

Description

The date formatting of dojo/date/locale uses version 1.2R1 of the Unicode specification, however the LDML shipped with Dojo uses a newer version (the current version is 23; I couldn't determine which version the LDML files shipped with Dojo use).

This means that dojo/date/locale interprets "E" as the numeric day of the week (eg Tuesday = 2), when it should be the abbreviated day of week (eg Tues).

The effect of this is seen when using the dateFormatItem patterns to get specific localised date formats; using dateFormatItem-MMMEd in English will result in "1, 1 Jul" (it should output "Mon, 1 Jul"). This is a bigger problem in some other locales; the Chinese pattern for "dateFormatItem-MEd" is "M-dE", which would display 7-11 for the same date.

Change History (2)

comment:1 Changed 4 years ago by dylan

Milestone: tbd1.12
Priority: undecidedhigh

comment:2 Changed 3 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.