Message80735
When you call datetime.datetime.utcnow() you get back a naive datetime
object. But why? You asked for UTC as the timezone based on what method
call you made. And UTC is a very concrete timezone that never changes.
It would be nice to have a concrete UTC tzinfo class that utcnow() uses
so that at least those datetime instances are non-naive.
If people have no issues with making this happen I will write the code
for the concrete UTC tzinfo instance and make the appropriate changes to
utcnow(). |
|
Date |
User |
Action |
Args |
2009-01-29 00:52:43 | brett.cannon | set | recipients:
+ brett.cannon |
2009-01-29 00:52:43 | brett.cannon | set | messageid: <1233190363.25.0.24659427347.issue5094@psf.upfronthosting.co.za> |
2009-01-29 00:52:42 | brett.cannon | link | issue5094 messages |
2009-01-29 00:52:41 | brett.cannon | create | |
|