zdump is a useful utility which shows the daylight saving transitions until 2038. It would be worth including it in future Puppy releases because it is quite small. Since I'm only interested in 2008 (at present) I can limit the output to this year using grep:
Code: Select all
# zdump -v /usr/share/zoneinfo/Pacific/Auckland | grep 2008
/usr/share/zoneinfo/Pacific/Auckland Sat Mar 15 13:59:59 2008 UTC = Sun Mar 16 02:59:59 2008 NZDT isdst=1 gmtoff=46800
/usr/share/zoneinfo/Pacific/Auckland Sat Mar 15 14:00:00 2008 UTC = Sun Mar 16 02:00:00 2008 NZST isdst=0 gmtoff=43200
/usr/share/zoneinfo/Pacific/Auckland Sat Oct 4 13:59:59 2008 UTC = Sun Oct 5 01:59:59 2008 NZST isdst=0 gmtoff=43200
/usr/share/zoneinfo/Pacific/Auckland Sat Oct 4 14:00:00 2008 UTC = Sun Oct 5 03:00:00 2008 NZDT isdst=1 gmtoff=46800
So, with the updated Pacific/Auckland file the output of zdump is:
Code: Select all
/usr/share/zoneinfo/Pacific/Auckland Sat Apr 5 13:59:59 2008 UTC = Sun Apr 6 02:59:59 2008 NZDT isdst=1 gmtoff=46800
/usr/share/zoneinfo/Pacific/Auckland Sat Apr 5 14:00:00 2008 UTC = Sun Apr 6 02:00:00 2008 NZST isdst=0 gmtoff=43200
/usr/share/zoneinfo/Pacific/Auckland Sat Sep 27 13:59:59 2008 UTC = Sun Sep 28 01:59:59 2008 NZST isdst=0 gmtoff=43200
/usr/share/zoneinfo/Pacific/Auckland Sat Sep 27 14:00:00 2008 UTC = Sun Sep 28 03:00:00 2008 NZDT isdst=1 gmtoff=46800
To install the changes download zoneinfo.zip which contains zdump and Auckland. Extract the files using rxvt with "unzip zoneinfo.zip", move zdump to /usr/local/bin, and move Auckland to /usr/share/zoneinfo/Pacific. You may need to restart Puppy to get the timezone change to take full effect.