Some notes from Craig on NZNOG for updating DST on Debian.
[code]
For debian its quite an easy fix.
BEFORE UPDATING.
zdump -v /etc/localtime |grep 2007
/etc/localtime Sat Mar 17 13:59:59 2007 UTC = Sun Mar 18 02:59:59 2007 NZDT
isdst=1 gmtoff=46800
/etc/localtime Sat Mar 17 14:00:00 2007 UTC = Sun Mar 18 02:00:00 2007 NZST
isdst=0 gmtoff=43200
/etc/localtime Sat Oct 6 13:59:59 2007 UTC = Sun Oct 7 01:59:59 2007 NZST
isdst=0 gmtoff=43200
/etc/localtime Sat Oct 6 14:00:00 2007 UTC = Sun Oct 7 03:00:00 2007 NZDT
isdst=1 gmtoff=46800
-------------------------
HOW TO UPDATE
apt-get update
apt-get install tzdata
dpkg-reconfigure tzdata (and choose Pacific, Auckland)
------------------
AFTER UPDATING
zdump -v /etc/localtime |grep 2007
/etc/localtime Sat Mar 17 13:59:59 2007 UTC = Sun Mar 18 02:59:59 2007 NZDT
isdst=1 gmtoff=46800
/etc/localtime Sat Mar 17 14:00:00 2007 UTC = Sun Mar 18 02:00:00 2007 NZST
isdst=0 gmtoff=43200
/etc/localtime Sat Sep 29 13:59:59 2007 UTC = Sun Sep 30 01:59:59 2007 NZST
isdst=0 gmtoff=43200
/etc/localtime Sat Sep 29 14:00:00 2007 UTC = Sun Sep 30 03:00:00 2007 NZDT
isdst=1 gmtoff=46800
[/code]
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment