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

Estartu schmidt at ze.tum.de
Wed May 20 05:07:41 EDT 2009


Public bug reported:

We upgraded our System recently from Zope2.9 to Zope2.11. Under Zope2.9
print DateTime('2009-05-20 12:00:00') returned "2009/05/20 12:00:00
GMT+2" under Zope2.11 it returns "2009/05/20 12:00:00 GMT+0'

I know that there was some work done to get DateTime working with
timezones correctly.

I have patched DateTime.py to use the Local Timezone when no timezone is
given in iso8601 format.

I have atteched this patch to this Bugreport.

In Order to provide compatibility to the Old behavior the patch can be
activated with a zope.conf directive.

** Affects: zope2
     Importance: Undecided
         Status: New


** Tags: datetime

-- 
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