Opened 8 years ago

Closed 8 years ago

#18143 closed defect (invalid)

german "months-standAlone-abbr" for gregorian calendar not correct

Reported by: gerhard presser Owned by: Adam Peller
Priority: undecided Milestone: tbd
Component: Date Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:


the english resource-bundle uses 3 letters without trailing dots for the month-names, the german resource-bundle uses -) trailing dots -) the full month name for certain months

if I use dojo/date/locale to format a date with following pattern: dd.MMM.yyyy HH:mm

I get german (wrong):

25.Juni.2014 10:49
18.Dez..2013 15:07

english (correct):

25.Jun.2014 10:49
18.Dec.2013 15:07

the resource bundle (dojo\cldr\nls\de\gregorian.js) has to be changed to

"months-format-abbr": [

to confirm with the other bundles

Change History (3)

comment:1 Changed 8 years ago by gerhard presser

it seems I was taken in by some false information.

java also uses inconsistent formatting.

MMM seems to be defined as the short form OR abbrevation nevertheless it would be welcome, if at least the dot-handling would be consisten (in dojo).

meaning: no trailing dots

comment:2 Changed 8 years ago by bill

Component: GeneralDate
Owner: set to Adam Peller

comment:3 Changed 8 years ago by Adam Peller

Resolution: invalid
Status: newclosed

This is the data as specified by the CLDR It works properly when used with the German date format, provided. Unfortunately, there is nothing to prevent periods used in the translations which happen to be incompatible with the date format you used with period separators. It's a good practice not to use a fixed date format.

Note: See TracTickets for help on using tickets.