[zope2-tracker] [Bug 378616] Re: DateTime uses UTC as default Timezone if none given

Ricardo Alves lafere at gmail.com
Fri May 7 12:45:16 EDT 2010


I also having this problema, or at least seems to be somehow related.
I'm getting this weird behavior: my local timezone is WET (currently
GMT+1) and depending on the format of the date string I get different
timezones:

>>> DateTime('2010-05-07 08:45:00')
DateTime('2010/05/07 08:45:00 GMT+0')
>>> DateTime('2010-05-07 08:45:00')
DateTime('2010/05/07 08:45:00 GMT+0')
>>> DateTime('07-05-2010 08:45:00')
DateTime('2010/07/05 08:45:00 GMT+1')

Is this behavior expected?

-- 
DateTime uses UTC as default Timezone if none given
https://bugs.launchpad.net/bugs/378616
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list