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 amaury.forgeotdarc
Recipients Rioky, amaury.forgeotdarc, belopolsky, lemburg
Date 2011-11-24.10:31:27
SpamBayes Score 4.5077664e-07
Marked as misclassified No
Message-id <1322130688.2.0.565362365512.issue13466@psf.upfronthosting.co.za>
In-reply-to
Content
> > But that does not give the *other* timezone :-(
> Which other timezone ?
I meant the other timezone *name*.

I think we don't understand each other:
- time.timezone is the offset of the local (non-DST) timezone.
- time.altzone is the offset of local DST timezone.
They don't depend on the current date, they depend only on the timezone database.
localtime() only gives the timezone for a given point in time, and the time module needs to present two timezones.
History
Date User Action Args
2011-11-24 10:31:28amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, lemburg, belopolsky, Rioky
2011-11-24 10:31:28amaury.forgeotdarcsetmessageid: <1322130688.2.0.565362365512.issue13466@psf.upfronthosting.co.za>
2011-11-24 10:31:27amaury.forgeotdarclinkissue13466 messages
2011-11-24 10:31:27amaury.forgeotdarccreate