What's the accepted way to set the locale, so that my Django app uses the appropriate date format (with USE_L10N = True)? asked 14 Feb '11, 12:21 delyan |
What format is it displaying? What format do you want it to display? You can set the time date formats manually with TIME_FORMAT and DATE_FORMAT in settings.py
answered 14 Feb '11, 14:29 johns It's using the default en_US format and I would've liked it to use the en_GB formats. Currently, I've hardcoded the formats in the way that you propose, however, I'd like to figure out how to do with locales as well.
(14 Feb '11, 16:16)
delyan
|