Hi list,

Ticket #5526 provides a Dutch DateField, a DateTimeField and a
DateTimeInput widget. Some code is based on the generic DateField
introduced in [6208]. The problem with this new generic DateField is
that it's impossible to parse non-English month names (%B and the like
in strftime), because it depends on time.srtptime. To properly parse
or output Dutch month names it makes use of the locale module.

The locale is changed as late as possible by overriding clean and
render. The patch also takes into account that not all locales may be
available on all systems. That's why it allows to specify a list of
alternatives. If non of the requested locales are available the
localized DateField acts the same as the current non-localized
DateField.

What do you think of this idea?

Regards,

Jan Rademaker

Ticket: http://code.djangoproject.com/ticket/5526


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to