indulis
December 3rd, 2006, 02:26 AM
This implements the daylight savings rules rushed into operation (grrr!) by the WA govt in late November for a change to daylight saving on Dec 3. That's today!
http://wa.gov.au/daylightsaving/
Well, some of the chaos has started already this morning, with the local newspaper's printing presses out of action, so only a limited supply of the newpapers are out there this morning (I think the ones that were printed were done before the changeover).
Anyway, on to the howto...
Download the customised Perth & West Australian daylight savings file Perth o say /tmp
http://matt.ucc.asn.au/time/Perth
Open a terminal window, and sudo sh
cd /usr/share/zoneinfo/Australia
cp Perth Perth_pre_daylight_saving
cp West West_pre_daylight_saving
cp /tmp/Perth ./Perth
cp /tmp/Perth ./West
As per the information at http://matt.ucc.asn.au/time/README.txt
you can check if it using zdump -v Australia/Perth and zdump -v Australia/West
Now reboot, your system time should have updated itself (assuming you are using NTP time servers), or if not you will have to reset your clock manually.
I tested this on Breezy, but it should work the same on pretty much any version of Ubuntu, or for that matter on linux.
The nice thing about the timezone fix is that it includes all the start/end dates for the next 3 years. Thanks Matt. Thantt! (http://www.bbc.co.uk/comedy/lookaroundyou/)
Nice to see the WA University Computer Club (http://www.ucc.asn.au/) is still there, I was once a president of the UCC! Famous or infamous, make up your own mind.
http://wa.gov.au/daylightsaving/
Well, some of the chaos has started already this morning, with the local newspaper's printing presses out of action, so only a limited supply of the newpapers are out there this morning (I think the ones that were printed were done before the changeover).
Anyway, on to the howto...
Download the customised Perth & West Australian daylight savings file Perth o say /tmp
http://matt.ucc.asn.au/time/Perth
Open a terminal window, and sudo sh
cd /usr/share/zoneinfo/Australia
cp Perth Perth_pre_daylight_saving
cp West West_pre_daylight_saving
cp /tmp/Perth ./Perth
cp /tmp/Perth ./West
As per the information at http://matt.ucc.asn.au/time/README.txt
you can check if it using zdump -v Australia/Perth and zdump -v Australia/West
Now reboot, your system time should have updated itself (assuming you are using NTP time servers), or if not you will have to reset your clock manually.
I tested this on Breezy, but it should work the same on pretty much any version of Ubuntu, or for that matter on linux.
The nice thing about the timezone fix is that it includes all the start/end dates for the next 3 years. Thanks Matt. Thantt! (http://www.bbc.co.uk/comedy/lookaroundyou/)
Nice to see the WA University Computer Club (http://www.ucc.asn.au/) is still there, I was once a president of the UCC! Famous or infamous, make up your own mind.