Re: Using zic

Chuck Swiger <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
On Mar 9, 2007, at 7:26 AM, Michael D. Spence wrote:
[ ... ]
> which I thought would update the appropriate parts of /usr/share/ 
> zoneinfo.
> And sure enough, some of the files therein now have timestamps of  
> today.
>
> But when I do this
>
>   zdump -v US/Eastern | grep 2007
>
> it still shows the old dates.  What am I missing here.

Is /etc/localtime a file rather than a symlink?  Some people copy the  
TZ file into etc, which means it doesn't get updated when /usr/share/ 
zoneinfo is changed.  Try:

   rm -f /etc/localtime
   ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

...or choose whatever location is most appropriate.

-- 
-Chuck
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.