Message231615
The proposed patch will not work on platforms that don't support tm_gmtoff. A proper fix may look like this:
dt = datetime.fromtimestamp(timeval, timezone.utc)
if localtime:
dt = dt.astimezone()
return format_datetime(dt, usegmt) |
|
Date |
User |
Action |
Args |
2014-11-24 17:43:30 | belopolsky | set | recipients:
+ belopolsky, barry, r.david.murray, mitya57 |
2014-11-24 17:43:30 | belopolsky | set | messageid: <1416851010.55.0.922663960699.issue22932@psf.upfronthosting.co.za> |
2014-11-24 17:43:30 | belopolsky | link | issue22932 messages |
2014-11-24 17:43:30 | belopolsky | create | |
|