Message142129
In what way does 'replace' not satisfy your need to set the tzinfo?
As for utcnow, we can't change what it returns for backward compatibility reasons, but you can get a non-naive utc datatime by doing datetime.now(timezone.utc). (I must admit, however, that at least this morning I can't wrap my head around how that works based on the docs :(. |
|
Date |
User |
Action |
Args |
2011-08-15 14:09:46 | r.david.murray | set | recipients:
+ r.david.murray, Daniel.O'Connor |
2011-08-15 14:09:46 | r.david.murray | set | messageid: <1313417386.16.0.809512171771.issue12750@psf.upfronthosting.co.za> |
2011-08-15 14:09:45 | r.david.murray | link | issue12750 messages |
2011-08-15 14:09:45 | r.david.murray | create | |
|