Opened 12 years ago

Closed 12 years ago

#5298 closed defect (invalid)

I18N has incorrect date format for en-uk

Reported by: guest Owned by: Adam Peller
Priority: high Milestone:
Component: Date Version: 1.0
Keywords: Cc: maryann_wayer@…
Blocked By: Blocking:

Description

When setting the djconfig.local to en-UK the date format is for the United States not Great Britian. Same is true for any country that has english as one of it's languages

Change History (3)

comment:1 Changed 12 years ago by Adam Peller

make sure to use all lower case, and to spell the property correctly: it's djConfig.locale

If this still fails, could you please provide a specific case with the results you'd expect? Thanks

comment:2 Changed 12 years ago by Adam Peller

sorry, I should have been more specific. You need to either say djConfig.locale="en-gb" (gb is the ISO standard, I think) prior to loading dojo.js, or you can put it in the SCRIPT tag djConfig attribute. Please see http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-and-dojo/i18n/specifying-locale

en-us, en-ca, en-au and en-gb are provided with Dojo. If you wish to support other en- variants, you'll have to build them. See util/buildscripts/cldr

comment:3 Changed 12 years ago by Adam Peller

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.