In March 2006 the BC goverment decided to follow the US and change the daylight savings time starts and ends. So PD will start on March 11 2007.
To update your Redhat Linux DST, do the following
Check your local time zone
less /etc/sysconfig/clock
once you have found your zone, download the zonefile (e.g. mine is America/Detroit)
wget http://andrew.triumf.ca/northamerica.rules.txt
Check the old zone file
zdump -v /usr/share/zoneinfo/America/Detroit grep 2007
Compile the rules with zic
zic northamerica.rules.txt
Link the localtime file
ln -sf /usr/share/zonefile/America/Detroit /etc/localtime
Check the new localtime
zdump -v /etc/localtime grep 2007
You should see like this:
/etc/localtime Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000
No comments:
Post a Comment