On Wed, 7 Mar 2007, Brent L. Bates wrote: > I THOUGHT I had taken care of this, now I'm not so sure. I downloaded > and installed the lastest tzdata RPM. `zdump -v' on the appropriate > /usr/share/zoneinfo file showed the correct information. I copied the > zoneinfo file (/usr/share/zoneinfo/America/New_York) to /etc/localtime and > thought that should fix everything. I've just been trying the command: > > zdump -v localtime > > and I'm not getting the correct information. I first tried this in the /etc > directory thinking it would get the local file and I got: > > localtime Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 20:45:52 1901 localtime > isdst=0 gmtoff=0 > localtime Sat Dec 14 20:45:52 1901 UTC = Sat Dec 14 20:45:52 1901 localtime > isdst=0 gmtoff=0 > localtime Mon Jan 18 03:14:07 2038 UTC = Mon Jan 18 03:14:07 2038 localtime > isdst=0 gmtoff=0 > localtime Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 03:14:07 2038 localtime > isdst=0 gmtoff=0 > > I then tried: > > zdump -v ./localtime > > same as above. I then tried: > > zdump -v /etc/localtime
This way looks at file /etc/localtime , the important thing there is the beginning "/" . If there is not beginnning "/" then it looks at /usr/share/zoneinfo/<whatname you used> > > and that gave me what I was looking for. Anyone have any thoughts on this? > I can not find anything in the manuals that would even hint at what I'm > seeing. > Am I worrying about nothing here? Thanks for any help. Man page is clearly short on info. > > -Connie Sieh
