Hi,
When I have datetime field with the value "1000-1-1 00:00:00" and I
have a template which has:
{{ datetime_field|date:"j F Y" }}
I get a ValueError: year out of range. But when I do:
{{ datetime_field.date|date:"j F Y" }}
it works okay (except that I lost the time values if I wanted to use
them).
Anyone any idea?
Rudolph
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---