[LUNI] DST changes :: a how to for Linux boxes

Mike Scott mscott at pyewacket.org
Wed Mar 7 16:46:30 CST 2007


Well, I followed all the steps and it seemed to work.
I verified that the files in /usr/share/zoneinfo all have today's date
(were replaced).
But when I type the final verification command, I get the old data:

[root at prideth root]# zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Apr  1 07:59:59 2007 UTC = Sun Apr  1 01:59:59 2007
CST isdst=0 gmtoff=-21600
/etc/localtime  Sun Apr  1 08:00:00 2007 UTC = Sun Apr  1 03:00:00 2007
CDT isdst=1 gmtoff=-18000
/etc/localtime  Sun Oct 28 06:59:59 2007 UTC = Sun Oct 28 01:59:59 2007
CDT isdst=1 gmtoff=-18000
/etc/localtime  Sun Oct 28 07:00:00 2007 UTC = Sun Oct 28 01:00:00 2007
CST isdst=0 gmtoff=-21600

However, if I add my timezone, it appears to give more info:
[root at prideth root]# zdump -v /etc/localtime CST6CDT | grep 2007
/etc/localtime  Sun Apr  1 07:59:59 2007 UTC = Sun Apr  1 01:59:59 2007
CST isdst=0 gmtoff=-21600
/etc/localtime  Sun Apr  1 08:00:00 2007 UTC = Sun Apr  1 03:00:00 2007
CDT isdst=1 gmtoff=-18000
/etc/localtime  Sun Oct 28 06:59:59 2007 UTC = Sun Oct 28 01:59:59 2007
CDT isdst=1 gmtoff=-18000
/etc/localtime  Sun Oct 28 07:00:00 2007 UTC = Sun Oct 28 01:00:00 2007
CST isdst=0 gmtoff=-21600
CST6CDT         Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007
CST isdst=0 gmtoff=-21600
CST6CDT         Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007
CDT isdst=1 gmtoff=-18000
CST6CDT         Sun Nov  4 06:59:59 2007 UTC = Sun Nov  4 01:59:59 2007
CDT isdst=1 gmtoff=-18000
CST6CDT         Sun Nov  4 07:00:00 2007 UTC = Sun Nov  4 01:00:00 2007
CST isdst=0 gmtoff=-21600

So I think it will be okay, but I'll know for sure on Sunday.
(God Bless the USA!)
Has anyone else tried this?  I'm using RedHat 7.3.

- Mike Scott


> -------- Original Message --------
> Subject: [LUNI] DST changes :: a how to for Linux boxes
> From: "Arun K. Khan" <knura at yahoo.com>
> Date: Wed, March 07, 2007 10:52 am
> To: luni <luni at luni.org>
> 
> A how to for ensuring that your Linux box is all set to handle the DST
> changes.
> 
> http://www.linux-watch.com/news/NS6300294422.html
> 
> -- arun khan
> 
> -- 
> Linux Users Of Northern Illinois - Technical Discussion 
> http://luni.org/mailman/listinfo/luni



More information about the luni mailing list