Opened 13 years ago
Closed 13 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: | [email protected]… | |
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 13 years ago by
comment:2 Changed 13 years ago by
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 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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