[Zope] DateTime strftime problem

Chris Withers chris at simplistix.co.uk
Tue Nov 8 11:42:15 EST 2005


Jürgen Herrmann wrote:
>>>>d = DateTime('2005/04/03 02:01 UTC')
>>>>d.toZone('GMT+1').strftime('%Y/%m/%d %H:%M %Z')
> 
> '2005/04/03 03:01 GMT+0100'
> 
> is this correct?
> 
> if so, the i would tend to say, the testcase was written to pass with
> wrong strftime() behaviour. 

That would be entirely unsuprising *sigh*

Chris - hey! it passes the tests! it must be right! yeah...

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list