On Mon, Feb 7, 2011 at 2:13 PM, Jop <[email protected]> wrote:
> 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
>

I think this option is the one that should work and isn't in 1.2.4. You have the
following two choices:

 - Go back to 1.2.3
 - or use a checkout of the 1.2.X maintenance branch at revision
[1]15405 or newer.
   The fix for this temporal regression in 1.2.4 will be included in a
future 1.2.5

> Other new situation (1.2.4 with: I10N=True and LANGUAGE_CODE = 'nl'):
> - Dates: 1 maart 2012
> - Decimals are comma separated


Regards,
-- 
Ramiro Morales

1. http://code.djangoproject.com/changeset/15405

-- 
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.

Reply via email to