PDA

View Full Version : Change timezone for daylight saving for Perth, Western Australia's



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.

cpudney
December 5th, 2006, 02:22 AM
G'day,

Works for me.

Thanks,
Chris.

jk-
December 17th, 2006, 01:09 PM
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.



Or, instead of rebooting, just run
sudo tzconfig and re-set your timezone to Australia/Perth (ie, answer 'y' to the first question).

austux
December 25th, 2006, 04:06 AM
Works fine for me under Mandriva Linux 10.0, 2006, 2007.0. Thank you!

The timezone-setter tool is called tzselect.