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?
Cheers
Rich
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )