[Zope] DateTime strftime problem

Andreas Jung lists at andreas-jung.com
Mon Nov 7 08:35:51 EST 2005



--On 7. November 2005 14:21:32 +0100 Jürgen Herrmann 
<Juergen.Herrmann at XLhost.de> wrote:

> hi all!
>
> DateTime('2005/04/03 02:01 GMT').toZone('GMT-4')
>
> prints:
> 2005/04/02 22:01:00 GMT-4
> ...which is what i expected
> ---------------------------------------------------------------------
> DateTime('2005/04/03 02:01 GMT').toZone('GMT-4')\
> .strftime('%Y/%m/%d %H:%M %Z')
>
> prints:
> 2005/04/03 04:01
>

Which Zope version?

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20051107/b83c18f3/attachment.bin


More information about the Zope mailing list