[Zope] DateTime strftime problem

Jürgen Herrmann Juergen.Herrmann at XLhost.de
Mon Nov 7 09:07:16 EST 2005


[ Andreas Jung wrote:]
>
>
> --On 7. November 2005 14:41:43 +0100 Jürgen Herrmann>
>> zope 2.8.3, should i upgrade to 2.8.4 first?
>>
>
> This is possibly related to bug #1780 (and other related timezone bugs).
> Unfortunately the timezone handling in Zope was and is always a
> mess...unlikely that it will be ever fixed, sorry.
>
> -aj
>
>
me once again...

d = DateTime('2005/04/03 02:01 GMT').toZone('GMT+1')
s = d.strftime('%Y/%m/%d %H:%M %Z')

here i would expect s == '2005/04/03 03:01 GMT+1',
do i have the correct expectation here?

what is d.strftime('%Y/%m/%d %H:%M') expected to return then?

regards, juergen herrmann
_______________________________________________________________________

>> XLhost.de - eXperts in Linux hosting <<

Jürgen Herrmann
Bruderwöhrdstraße 15b, DE-93051 Regensburg

Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
Fax:  +49 (0)721 151 463027
WEB:  http://www.XLhost.de


More information about the Zope mailing list