Message142129
| Author |
r.david.murray |
| Recipients |
Daniel.O'Connor, r.david.murray |
| Date |
2011年08月15日.14:09:45 |
| SpamBayes Score |
0.0012576263 |
| Marked as misclassified |
No |
| Message-id |
<1313417386.16.0.809512171771.issue12750@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 :(. |
|
History
|
|---|
| 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 |
|