[LUNI] DST changes :: a how to for Linux boxes
Mike Scott
mscott at pyewacket.org
Thu Mar 8 09:45:57 CST 2007
That was the case on my system as well.
I did the following:
[root at prideth root]# cd /etc
[root at prideth etc]# mv localtime localtime.20070308
[root at prideth etc]# ln -s /usr/share/zoneinfo/America/Chicago localtime
[root at prideth etc]# ls -l localtime
lrwxrwxrwx 1 root root 35 Mar 8 10:40 localtime ->
/usr/share/zoneinfo/America/Chicago
Now it appears to give the correct zdump info:
[root at prideth etc]# zdump -v /etc/localtime | grep 2007
/etc/localtime Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007
CST isdst=0 gmtoff=-21600
/etc/localtime Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007
CDT isdst=1 gmtoff=-18000
/etc/localtime Sun Nov 4 06:59:59 2007 UTC = Sun Nov 4 01:59:59 2007
CDT isdst=1 gmtoff=-18000
/etc/localtime Sun Nov 4 07:00:00 2007 UTC = Sun Nov 4 01:00:00 2007
CST isdst=0 gmtoff=-21600
Thanks for the tip. Here's hoping we have an "uneventful" weekend!
- Mike Scott
> -------- Original Message --------
> Subject: RE: [LUNI] DST changes :: a how to for Linux boxes
> From: Trev Peterson <trev at advanced-reality.com>
> Date: Thu, March 08, 2007 7:41 am
> To: Linux Users Of Northern Illinois - Technical Discussion
> <luni at luni.org>
>
> On my gentoo system my /etc/localtime is NOT a link. It looks like they
> copied /usr/share/zoneinfo/America/Chicago to /etc/localtime.
> If /etc/localtime is a link make sure it points to the correct zoneinfo
> file. If it is a file you probably want to copy over one of the new
> files you downloaded.
>
> Trev
More information about the luni
mailing list