Message234837
> I highly recommend always specifying the timezone and would consider behaving otherwise as a bug.
I agree, and the datetime module lets you do that already:
>>> dt = datetime.now(timezone.utc)
>>> dt.isoformat()
'2015-01-27T18:53:40.380075+00:00'
or if you prefer local timezone,
>>> dt.astimezone().isoformat()
'2015-01-27T13:53:40.380075-05:00' |
|
Date |
User |
Action |
Args |
2015-01-27 18:56:19 | belopolsky | set | recipients:
+ belopolsky, r.david.murray, mirkovogt |
2015-01-27 18:56:19 | belopolsky | set | messageid: <1422384979.72.0.439774119778.issue23332@psf.upfronthosting.co.za> |
2015-01-27 18:56:19 | belopolsky | link | issue23332 messages |
2015-01-27 18:56:19 | belopolsky | create | |
|