#3113: [patch] newforms support for parsedatetime with DateField
-----------------------------------------------+----------------------------
Reporter: Brantley <[EMAIL PROTECTED]> | Owner: adrian Status: reopened | Component: django.newforms Version: | Resolution: Keywords: | Stage: Design decision needed Has_patch: 1 | Needs_docs: 0 Needs_tests: 0 | Needs_better_patch: 0 -----------------------------------------------+----------------------------
Comment (by Gary Wilson <[EMAIL PROTECTED]>):

From [comment:ticket:8:4 this comment] in #8:
> What about using dateutil's parse method? Seems to work really well:
{{{
#!python
>>> from dateutil.parser import parse
>>> parse("Tuesday")
datetime.datetime(2006, 12, 26, 0, 0)
}}}
> for example...
>
> See: http://labix.org/python-dateutil#head-
c0e81a473b647dfa787dc11e8c69557ec2c3ecd2

--
Ticket URL: <http://code.djangoproject.com/ticket/3113#comment:10>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to