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' >>> strftime("%Z") 'US Mountain Standard Time' The expected output for my time zone is -7:00. ---------- components: Library (Lib) messages: 208295 nosy: Mike.Owens priority: normal severity: normal status: open title: time.strftime %z format specifier is the same as %Z type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20281> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com