-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Because of the time zone? strftime() formats the DateTime instance
according to local time.
- -aj
Richard Harley wrote:
> Hi all
>
> I hope I'm not missing something obvious here. ZopeTime is gaining
> two hours when it's string formatted. * thistim
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:*
*Z