Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] timezone


jam@xxxxxxxxx wrote:

> You folk had to fiddle with the Zone files recently for the commonwealth 
> games.
> Can anybody point me at a howto.
> We'll get daylight saving from 3 December to 31 March, and 1 Nov to 31 March 
> for the next 2 years.

This appears to depend on your operating system and distribution.  Since you're
posting to SLUG I'll assume you're using Linux.

The timezone package for Fedora and Redhat is called tzdata.  For Debian it's in
  libc6.

You should be able to test your timezone data with:

	zdump -v Australia/Perth | grep 2006

(but you probably won't get anything).  zdump may be in either /usr/sbin/ or
/usr/bin

zdump prints out the time just before and just after the daylight-saving
transitions.

You can get advice on updating the timezone stuff at:
	http://www.linuxsa.org.au/pipermail/linuxsa/2006-February/082329.html

Information about tz at:
	http://www.twinsun.com/tz/tz-link.htm

and general information at:
	http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html

Make sure you stop and restart cron when making your updates manually.  Other
persistent systems (such as database servers) may also need restarting.

All the best,

	J

-- 
   ("`-''-/").___..--''"`-._          |  Jacinta Richardson         |
    `6_ 6  )   `-.  (     ).`-.__.`)  |  Perl Training Australia    |
    (_Y_.)'  ._   )  `._ `. ``-..-'   |      +61 3 9354 6001        |
  _..`--'_..-_/  /--'_.' ,'           | contact@xxxxxxxxxxxxxxxxxxx |
 (il),-''  (li),'  ((!.-'             |   www.perltraining.com.au   |