Message249299
The premise of this issue is factually incorrect:
> ISO 8601, which states that, if no timezone is specified,
> the string is supposed to be interpreted as UTC implicitly.
The opposite is true: "If no UTC relation information is given with a time representation, the time is assumed to be in local time." <https://en.wikipedia.org/wiki/ISO_8601>
To get timezone specification included in isoformat() output - use aware datetime objects:
>>> from datetime import *
>>> datetime.now(timezone.utc).isoformat()
'2015-01-27T18:27:33.216857+00:00' |
|
Date |
User |
Action |
Args |
2015-08-28 21:36:37 | belopolsky | set | recipients:
+ belopolsky, r.david.murray, BreamoreBoy, mirabilos, mirkovogt |
2015-08-28 21:36:37 | belopolsky | set | messageid: <1440797797.23.0.392622558724.issue23332@psf.upfronthosting.co.za> |
2015-08-28 21:36:37 | belopolsky | link | issue23332 messages |
2015-08-28 21:36:36 | belopolsky | create | |
|