[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
New submission from Mike Owens: When using strftime from the time module on 64bit Python for Windows the format specifier %z gives the time zone name instead of the time zone offset as stated in the documentation. eg >>> strftime("%z") 'US Mountain Standard Time

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
Mike Owens added the comment: Expected output should be -0700. I checked Python 3.3.1 and 2.7.4 on Linux and the output is as expected. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
Mike Owens added the comment: Documentation doesn't have a foot note for either %z or %Z but there is generic footnote talking about C lib behavior and that %z is deprecated. I guess if there were a foot note in the table for %z that would save some time for eve

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
Mike Owens added the comment: The datetime.strftime function produces no output for %z or %Z. Very irritating. -- ___ Python tracker <http://bugs.python.org/issue20

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread Mike Owens
Mike Owens added the comment: I'm looking right at the 3.3 docs right now. %z is in the table. 8.1.8. strftime() and strptime() Behavior -- ___ Python tracker <http://bugs.python.org/is