This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients barry, belopolsky, mitya57, r.david.murray
Date 2014-11-24.17:43:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416851010.55.0.922663960699.issue22932@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2014-11-24 17:43:30belopolskysetrecipients: + belopolsky, barry, r.david.murray, mitya57
2014-11-24 17:43:30belopolskysetmessageid: <1416851010.55.0.922663960699.issue22932@psf.upfronthosting.co.za>
2014-11-24 17:43:30belopolskylinkissue22932 messages
2014-11-24 17:43:30belopolskycreate