Message208298
Please see the footnote on the 'time' documentation page. It sounds like Windows is treating %z as if was %Z.
There should be a reference to that footnote from the %z table entry, so that's a doc bug. Might also be worth explicitly mentioning this weird Windows behavior.
FYI, you can use the strftime functionality of the datetime module to get cross platform %z support. |
|
Date |
User |
Action |
Args |
2014-01-16 19:06:21 | r.david.murray | set | recipients:
+ r.david.murray, docs@python, Mike.Owens |
2014-01-16 19:06:21 | r.david.murray | set | messageid: <1389899181.72.0.33025317289.issue20281@psf.upfronthosting.co.za> |
2014-01-16 19:06:21 | r.david.murray | link | issue20281 messages |
2014-01-16 19:06:21 | r.david.murray | create | |
|