[Zope] zopetime behaviour

Richard Harley richard at scholarpack.com
Tue Sep 20 04:18:28 EST 2011

Hi all

I hope I'm not missing something obvious here. ZopeTime is gaining two 
hours when it's string formatted.
thistime = context.ZopeTime().strftime("%Y/%m/%d %H:%M:%S")
print "ZopeTime:"
print context.ZopeTime()

print "String formatted ZopeTime:"
print thistime

The output is this:*

*ZopeTime: 2011/09/20 10:16:12.628 GMT+1

String formatted ZopeTime: 2011/09/20 12:16:12

How come string formatted ZopeTime gains two hours?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20110920/220ea715/attachment.html 

More information about the Zope mailing list