[Triumf-linux-managers] Daylight savings changes

Andrew Daviel advax at triumf.ca
Mon Jan 22 16:07:23 PST 2007



In March 2006 the BC government decided to follow the US and change when 
daylight savings time starts and ends (but it still won't match Europe). So it 
will be March 11 this year.

Recent systems should be automatically updated; check with zdump. If not, try

# yum update tzdata

Older systems that used to be supported by Fedora Legacy probably won't be 
updated; timezone info is in the glibc RPM. The system can be updated by 
compiling the new rules.

E.g.

$ zdump -v America/Vancouver |grep PDT|grep 2007
America/Vancouver  Sun Apr  1 10:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 PDT isdst=1 gmtoff=-25200
America/Vancouver  Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1 gmtoff=-25200

(these are the old dates)

$ wget http://andrew.triumf.ca/northamerica.rules.txt
# zic northamerica.rules.txt

$ zdump -v America/Vancouver |grep PDT|grep 2007
America/Vancouver  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT isdst=1 gmtoff=-25200
America/Vancouver  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 PDT isdst=1 gmtoff=-25200

(fixed!)

Java has its own timezone info. As Sun points out, it's best to update 
the Java JRE (usually in /usr/java)

http://java.sun.com/javase/tzupdater_README.html

Here's an applet that figures out if JRE has been updated:
http://andrew.triumf.ca/java/Jtime.html


-- 
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376  (Pacific Time)
security at triumf.ca


More information about the Triumf-linux-managers mailing list