[Bug 1158834] Re: Daylight saving dates for Asia/Jerusalem need updating

Roy Erez royerez at gmail.com
Sat Sep 7 18:14:59 UTC 2013


Mike, Assaf:

Thanks for your instructions. Here are my (mostly minor)
corrections/suggestions:

1. The workaround you suggested patches the zone files but the verification is slightly wrong - by running the command
zdump -v Asia/Jerusalem
you verify the the zone file is correct but _not_ that the zone file is actually effective (i.e. copied or linked to /etc/localtime).

2. I think that dpkg-reconfigure tzdata does more than just copying the
zone file to /etc/localtime so I suggest running it rather than copying
or linking.

3. Hard linking /etc/localtime is probably wrong, it may cause the
"source" zone file to be overwritten.

Here's my suggested workaround, it should be slightly more reliable:
#Check if the settings are right:
zdump -v /etc/localtime | grep 2013

#If wrong:
mkdir $HOME/dstfix2013
cd $HOME/dstfix2013
wget -N ftp://ftp.iana.org/tz/data/asia
sudo zic asia
sudo ln -sf /usr/share/zoneinfo/Asia/Jerusalem /usr/share/zoneinfo/Asia/Tel_Aviv

# reconfigure the system to use the new zone files
sudo dpkg-reconfigure tzdata

# Check again
zdump -v /etc/localtime | grep 2013

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1158834

Title:
  Daylight saving dates for Asia/Jerusalem need updating

Status in “tzdata” package in Ubuntu:
  Confirmed

Bug description:
  The new POSIX definitions for daylight-saving in Israel are:
   # The law has been changed (2012-11-05): As of 2013, 
   # DST starts at 02:00 on the Friday before the last Sunday in March. 
   # DST ends at 02:00 on the first Sunday after October 1 
   # unless it occurs on the second day of the Jewish Rosh Hashana holiday, in which case,
   # DST ends a day later (i.e. at 02:00 the first Monday after October 1
   #Rule   NAME    FROM    TO      TYPE    IN      ON           AT      SAVE    LETTER/S
  Rule	Zion	      2013	     max     -         Mar      Fri>=23  2:00     1:00     D
  Rule	Zion	      2013	     2026    -        Oct       Sun>=2  2:00	     0          S
  Rule	Zion       2027	     only     -         Oct      4              2:00     0          S
  Rule	Zion	      2028	     2053    -        Oct      Sun>=2   2:00	     0          S

  In 2013 the change to DST is the same as before: 29-Mar-2013
  However the change to Standard time has moved from 28-Sep to 6-Oct

  This has been officially announced by the Knesset (Israeli parliament) but the documents are in Hebrew 
  I do not know whether this falls under 'bugs' or 'update request'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1158834/+subscriptions




More information about the foundations-bugs mailing list