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 r.david.murray
Recipients Neil Muller, amaury.forgeotdarc, andersjm, belopolsky, catlee, davidfraser, eric.araujo, erik.stephens, guettli, hodgestar, jamesh, jribbens, loewis, mark.dickinson, pboddie, pitrou, r.david.murray, rhettinger, steve.roberts, techtonik, tim.peters, tomster, vstinner, werneck
Date 2011-05-05.18:14:51
SpamBayes Score 1.3702323e-05
Marked as misclassified No
Message-id <1304619297.1.0.882131918728.issue9527@psf.upfronthosting.co.za>
In-reply-to
Content
LocalTimezone support would be *really* helpful for the email module.  It would allow us to have unambiguous semantics for datetime objects representing timestamps exacted from or inserted into email messages (see issue 665194 for recent discussion).  The email module is already trying to handle timestamp translation, and I'd be willing to bet it is buggier than the proposal here.

At one point I even started to copy the LocalTimezone class from the docs into the email module.  I implemented a naive extension of the current formatdate function instead, but after Alexander's feedback on #665194 I think the naive implementation is not a good idea.
History
Date User Action Args
2011-05-05 18:14:57r.david.murraysetrecipients: + r.david.murray, tim.peters, loewis, jribbens, rhettinger, pboddie, jamesh, guettli, amaury.forgeotdarc, mark.dickinson, davidfraser, belopolsky, pitrou, andersjm, catlee, vstinner, techtonik, tomster, werneck, hodgestar, Neil Muller, eric.araujo, erik.stephens, steve.roberts
2011-05-05 18:14:57r.david.murraysetmessageid: <1304619297.1.0.882131918728.issue9527@psf.upfronthosting.co.za>
2011-05-05 18:14:51r.david.murraylinkissue9527 messages
2011-05-05 18:14:51r.david.murraycreate