Author belopolsky
Recipients barry, belopolsky, errx, mitya57, r.david.murray
Date 2014-11-24.16:08:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Is it possible to set timezone based on localtime(current_time) where current_time is the result of time() call?

No. time.timezone is a constant it cannot change with time.  This is a limitation of the POSIX and C standards on which time module is based.

> For example, my mail sending program uses `email.utils.formatdate(localtime=True)', and that is returning a time one hour in the past currently.

I thought email.utils.formatdate was fixed in 3.x series.  Can you report this as a separate issue?
Date User Action Args
2014-11-24 16:08:14belopolskysetrecipients: + belopolsky, barry, r.david.murray, errx, mitya57
2014-11-24 16:08:14belopolskysetmessageid: <>
2014-11-24 16:08:14belopolskylinkissue22752 messages
2014-11-24 16:08:14belopolskycreate