|
Message-ID: <20110929193229.GB15521@gremlin.ru> Date: Thu, 29 Sep 2011 23:32:29 +0400 From: gremlin@...mlin.ru To: owl-dev@...ts.openwall.com Subject: Re: timezones On 29-Sep-2011 20:21:03 +0400, Solar Designer wrote: > Earlier, Russian President Dmitry Medvedev announced that he had > decided to abolish the use of daylight saving time from the autumn > of 2011. The same has been done by Belarus, Georgia and the > countries of Central Asia." > So at least Russia, Ukraine, Belarus, Georgia, and "the countries > of Central Asia" (which ones?) are affected. That's true. And the solution should look like --- glibc-orig/timezone/europe 2011-05-31 08:12:33 +0400 +++ glibc/timezone/europe 2011-09-24 10:05:19 +0400 @@ -561,9 +561,9 @@ # Rule Russia 1992 only - Mar lastSat 23:00 1:00 S Rule Russia 1992 only - Sep lastSat 23:00 0 - -Rule Russia 1993 max - Mar lastSun 2:00s 1:00 S +Rule Russia 1993 2011 - Mar lastSun 2:00s 1:00 S Rule Russia 1993 1995 - Sep lastSun 2:00s 0 - -Rule Russia 1996 max - Oct lastSun 2:00s 0 - +Rule Russia 1996 2010 - Oct lastSun 2:00s 0 - # These are for backward compatibility with older versions. Please note: _I didn't check that yet_. Also, the timezone names for Russia have to be changed in accordance with internal names, but I doubt those old farts wil accept this change: - 2:00 Russia EE%sT + 2:00 Russia EE%sT 2011 Mar lastSun 2:00s + 3:00 Russia KLG - 3:00 Russia MSK/MSD + 3:00 Russia MSK/MSD 2011 Mar lastSun 2:00s + 4:00 Russia MSK - 3:00 Russia VOL%sT + 3:00 Russia VOL%sT 2011 Mar lastSun 2:00s + 4:00 Russia VOL - 4:00 Russia SAM%sT # Samara Time + 4:00 Russia SAM - 5:00 Russia YEK%sT # Yekaterinburg Time + 5:00 Russia YEK%sT 2011 Mar lastSun 2:00s + 6:00 Russia YEK - 6:00 Russia OMS%sT + 6:00 Russia OMS%sT 2011 Mar lastSun 2:00s + 7:00 Russia OMS - 6:00 Russia NOV%sT + 6:00 Russia NOV%sT 2011 Mar lastSun 2:00s + 7:00 Russia NSK - 7:00 Russia KRA%sT + 7:00 Russia KRA%sT 2011 Mar lastSun 2:00s + 8:00 Russia KRS etc. > Perhaps this is already addressed in upstream glibc? (I haven't > checked.) As for glibc-2.14, it is not. > What do other distros do about these things? It looks like they wait for being pecked by a fried chicken. -- Alexey V. Vissarionov aka Gremlin from Kremlin <gremlin ПРИ gremlin ТЧК ru>
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.