[issue4086] support %z format in time.strftime and _strptime?

Skip Montanaro report at bugs.python.org
Thu Oct 9 13:27:26 CEST 2008


New submission from Skip Montanaro <skip at pobox.com>:

While responding to a c.l.py question just now I discovered that
numeric timezone offsets don't appear to be supported by either the
time.strftime function or the _strptime module.  I noticed on my
Mac's strftime(3) man page that it supports a %Z format for TZ
names and a %z format for numeric tz offsets.  It seems Python
should as well.

----------
messages: 74570
nosy: skip.montanaro
priority: normal
severity: normal
status: open
title: support %z format in time.strftime and _strptime?
type: feature request
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4086>
_______________________________________


More information about the Python-bugs-list mailing list