KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Trying to understand L10N implementation into Django, Here are my settings LANGUAGE_CODE = 'fr-FR' USE_L10N = True If I try >>> datetime.datetime.strptime('2012-05-30 15:30', '%Y-%m-%d %H:%M') .strftime('%c') It will give me 'Wed May 30 15:30:00 2012' that is the EN locale. However the doc is saying: [...] Two users accessing the same content, but in different language, will see date and number fields formatted in different ways, depending on the format for their current locale [...] Are they talking about the locale set for their respective browser ? If not, how can I set it to french by default for example ?
Tags (comma-separated)
Save Edits
Cancel