[Datetime-SIG] Computing .dst() as a timedelta

M.-A. Lemburg mal at egenix.com
Mon Sep 21 17:49:45 CEST 2015

On 21.09.2015 17:01, Alexander Belopolsky wrote:
> On Mon, Sep 21, 2015 at 8:44 AM, M.-A. Lemburg <mal at egenix.com> wrote:
>> Interesting. It lists two "DST"s per year: they first
>> go from GMT to CET, then to CEST, and then back to CET and GMT.
>> I guess they switched to CET when the station was used and
>> to GMT for the instruments during winter when it was not used.
>> But this is not consistent with what the Norwegians report on their
>> Troll station website:
>> http://www.npolar.no/en/about-us/stations-vessels/troll/index.html
>> """
>> The time zone Troll is located in, UTC +0, is 1 hour behind Norwegian
>> time (2 hours during summer time in Norway). Photo: Norwegian Polar
>> Institute
>> """
>> The webcam confirms this:
>> ftp://ftp.npolar.no/Out/TrollWebCam/TrollPublic.jpg
> For those who care about this kind of timezone trivia, apparently [1] Troll
> station is inhabited by Norwegians only during the colder months
> (March–October)
> who use Norwegian time (TZ=Europe/Oslo).  During the warmer ("busy")
> season, the station switches to UTC as an option that is equally annoying
> to all international inhabitants.
> The specific rules that appear in some versions of the IANA zone info files
> are pure fantasy.
> [1]: http://mm.icann.org/pipermail/tz/2014-March/020705.html

Looks like assigning a "time zone" to the place is simply conceptually
wrong and was just done to make some tz folks happy.

Anyway, the main takeaway for me is that it is obviously possible
to have more than two DST switches during the year, which is
something I wasn't aware of before seeing this example.

Marc-Andre Lemburg

Professional Python Services directly from the Experts (#1, Sep 21 2015)
>>> Python Projects, Coaching and Consulting ...  http://www.egenix.com/
>>> Python Database Interfaces ...           http://products.egenix.com/
>>> Plone/Zope Database Interfaces ...           http://zope.egenix.com/
2015-09-14: Released mxODBC Plone/Zope DA 2.2.3   http://egenix.com/go84
2015-09-26: Python Meeting Duesseldorf Sprint 2015          5 days to go
2015-10-21: Python Meeting Duesseldorf ...                 30 days to go

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the Datetime-SIG mailing list