Winter clock issues in linux
shimi
linux-il at shimi.net
Sat Sep 7 20:56:46 IDT 2013
On Sat, Sep 7, 2013 at 8:45 PM, Geoff Shang <geoff at quitelikely.com> wrote:
> Hi,
>
> Apologies for not reading the rest of my mail but I wanted to answer this.
>
>
> On Sat, 7 Sep 2013, Amichay P. K. wrote:
>
> Will the Israeli winter clock changes have any effect in linux?
>> Do you consider it safer to change the location to Greece?
>> http://www.themarker.com/**technation/1.2111316<http://www.themarker.com/technation/1.2111316>
>>
>
> I'm running Debian Squeeze and the timezone database is fine. But I do
> subscribe to Debian updates.
>
> If you want to be sure, run this command:
>
> tzdump -v Asia/Jerusalem |grep 2013
>
> It should output something like this:
>
> Asia/Jerusalem Thu Mar 28 23:59:59 2013 UTC = Fri Mar 29 01:59:59 2013
> IST isdst=0 gmtoff=7200
> Asia/Jerusalem Fri Mar 29 00:00:00 2013 UTC = Fri Mar 29 03:00:00 2013
> IDT isdst=1 gmtoff=10800
> Asia/Jerusalem Sat Oct 5 22:59:59 2013 UTC = Sun Oct 6 01:59:59 2013
> IDT isdst=1 gmtoff=10800
> Asia/Jerusalem Sat Oct 5 23:00:00 2013 UTC = Sun Oct 6 01:00:00 2013
> IST isdst=0 gmtoff=7200
>
And if you have Geoff's output, then your clock would be moving at the
wrong time[1] :)
This is with a really up to date timezone data:
$ /usr/sbin/zdump -v /etc/localtime | grep 2013
/etc/localtime Thu Mar 28 23:59:59 2013 UTC = Fri Mar 29 01:59:59 2013 IST
isdst=0
/etc/localtime Fri Mar 29 00:00:00 2013 UTC = Fri Mar 29 03:00:00 2013 IDT
isdst=1
/etc/localtime Sat Oct 26 22:59:59 2013 UTC = Sun Oct 27 01:59:59 2013 IDT
isdst=1
/etc/localtime Sat Oct 26 23:00:00 2013 UTC = Sun Oct 27 01:00:00 2013 IST
isdst=0
(you can use "Asia/Jerusalem" too, but make sure /etc/localtime indeed
contains the content of /usr/share/zoneinfo/Israel or
/usr/share/zoneinfo/Asia/Jerusalem - or a symlink to one of them.)
You need version *2013d* of the database if you want the latest Israeli law.
-- Shimi
[1]
http://www.justice.gov.il/NR/rdonlyres/FCE198C8-66FD-4AA8-AB9D-958264583207/41529/2401.pdf#page=8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20130907/48883945/attachment.html>
More information about the Linux-il
mailing list