For whom might be interested: just created the ticket and attached a 
regression test case for details: 
https://code.djangoproject.com/ticket/19371

Ion

On Tuesday, November 27, 2012 3:28:34 PM UTC+2, Aymeric Augustin wrote:
>
> 2012/11/27 Ion Scerbatiuc <[email protected] <javascript:>>
>
>> Actually, to be realistic, it should contain strings representing naive 
>>> date times, because that's what will be POST-ed by a HTML form. But using a 
>>> datetime object works too.
>>>
>>
>> I'm not 100% sure that the datetimes received in the POST should 
>> represent naive date times. I mean there might be use cases when they 
>> represent aware datetimes:
>>
>>    - there is a custom widget that allows the user to specify the 
>>    timezone
>>    - the data is coming through a REST API and you have a form handling 
>>    the validation 
>>    - ...
>>
>>
> Indeed, if the string contains timezone information (ie. Z or +03:00), 
> Django should take it into account.
>
> -- 
> Aymeric.
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/wmt5jcrPzeMJ.
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