Hallo,
I am upgrading a Django project from 1.1.1 to 1.2.4. Unfortunately I'm
running into some trouble concerning date and decimal formatting in
1.2.4. What I'm looking for is to match the original situation as we
need the dates to be the same for xml feeds etc and the point for
javascript. I know I can use a template filter on all the dates in the
templates, but this is a lot of work and has the risk of missing
something somewhere. What I'm looking for is a confirguration setting
which fixes this problem.
Original situation (1.1.1)
- Dates: 21-12-2010
- Decimals are point separated.
New situation (1.2.4 with: I10N=False and LANGUAGE_CODE = 'nl'):
- Dates: maart 1, 2012
- Decimals are point separated
Other new situation (1.2.4 with: I10N=True and LANGUAGE_CODE = 'nl'):
- Dates: 1 maart 2012
- Decimals are comma separated
When I try on the pythonprompt the locale.getdefaultlocale() returns
('en_US', 'UTF8').
Thanx for your help / time!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.