"%Z" no longer does anything, on 2.9 or trunk:
>>> import DateTime >>> d = DateTime.DateTime().toZone('US/Pacific') >>> d.strftime('%H:%M %Z') '18:15 '
See also https://bugs.launchpad.net/zope2/+bug/215991 ... people (well, at least two of us) find the implicit conversion to local zone very suprising.
"%Z" no longer does anything, on 2.9 or trunk:
>>> import DateTime DateTime( ).toZone( 'US/Pacific' )
>>> d = DateTime.
>>> d.strftime('%H:%M %Z')
'18:15 '
See also https:/ /bugs.launchpad .net/zope2/ +bug/215991 ... people (well, at least two of us) find the implicit conversion to local zone very suprising.