On 3/7/07, orestis <[EMAIL PROTECTED]> wrote:
>
> As it stands, the when using a newforms.DateField with specified input
> formats, it gets parsed alright, but when rendering the form there is
> no way to specify the output format, it gets printed as YYYY-MM-DD.
>
> This not only is a bad localization practice, it makes _using_ the
> input formats impossible, since when re-submitting a populated form
> without changes, you get validation errors.
>
> I can't find a ticket for this... Surely I'm not the first to bump
> into this ?

I had this problem some time ago. Here is a snippet (custom widget)
that solves this: http://www.djangosnippets.org/snippets/89/

regards,
Jure Cuhalev

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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