On 09/01/2014 16:42, Nick Cash wrote:
and "%s" (which is incredibly useful) is not even documented (I suspect it's
also not available on all platforms).
The format specifiers available to Python are just whatever is available to the
underlying c time.h.
The manpage for strftime indicates that %s isn't part of the C standard, but part of
"Olson's timezone package", which means it's not available on Windows. Your
suspicion is unfortunately correct.
Methinks http://www.python.org/dev/peps/pep-0431/ Time zone support
improvements may be of interest here. Still at draft issue unfortunately.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list