Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

Closing as a duplicate of (closed) issue 6641.

time.strftime appears to support %z on the platforms that support it in C 
strftime:


>>> time.strftime("%z", time.localtime())
'-0400'

----------
dependencies:  -No obvious and correct way to get the time zone offset
resolution:  -> duplicate
superseder:  -> datetime.strptime doesn't support %z format ?

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4086>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to