[docs] [issue20281] time.strftime %z format specifier is the same as %Z
report at bugs.python.org
Fri Jun 26 22:14:06 CEST 2015
dendory added the comment:
Why is the focus on documentation entries when the real work should be on trying to make this function to work on all platforms?
I understand that Windows's implementation of strftime() defines %z and %Z to return the same thing, but timezone information is still available in other ways. For example, _get_timezone() returns the offset in seconds between localtime and UTC. I don't have VC++ 2010 installed so I can't test it but this seems like a fairly simple thing to fix. Just take that result and multiply.
Python tracker <report at bugs.python.org>
More information about the docs