Message234838
> When using utcnow() e.g. I would expect the result definitely being marked as UTC.
Don't use utcnow(). This is a leftover from the times when there was no timezone support in datetime.
The documentation for utcnow [1] already points you in the right direction, but we can consider formally deprecating it together with utcfromtimestamp.
[1] https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow |
|
Date |
User |
Action |
Args |
2015-01-27 19:00:51 | belopolsky | set | recipients:
+ belopolsky, r.david.murray, mirkovogt |
2015-01-27 19:00:51 | belopolsky | set | messageid: <1422385251.05.0.135999078725.issue23332@psf.upfronthosting.co.za> |
2015-01-27 19:00:51 | belopolsky | link | issue23332 messages |
2015-01-27 19:00:50 | belopolsky | create | |
|