Message76003
| Author |
andersjm |
| Recipients |
Neil Muller, andersjm, belopolsky, davidfraser, hodgestar, tebeka, vstinner, werneck |
| Date |
2008年11月18日.09:05:28 |
| SpamBayes Score |
0.0006345638 |
| Marked as misclassified |
No |
| Message-id |
<1226999130.57.0.920224574506.issue2736@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Any thoughts to time zone/DST handling for naive datetime objects? E.g.
suppose the datetime object was created by .utcnow or .utcfromtimestamp.
For aware datetime objects, I think the time.mktime(dt.timetuple())
approach doesn't work; the tz info is lost in the conversion to time tuple. |
|