Re: [WBEL-users] new DST on WBL 3.0...
"Mike B." <[email protected]> Sun, 11 Mar 2007 16:40:40 -0400
| Newsgroups | gmane.linux.whitebox.user |
|---|---|
| Message-ID | <[email protected]> |
At 3/11/2007 02:01 PM, Jeff Lasman wrote: >On Sunday 11 March 2007 07:38 am, Robert Heller wrote: > > > What do I need to upgrade *besides* tzdata on a WBL 3.0 system to get > > it to recognize the new DST start date? > >Probably all you have to do is copy the right file >in /usr/share/zoneinfo and/or it's subdirectories to >your /etc/localtime file. As always, make a copy of the old one first. ><snip> >That's the easy way; Mike B's info is good, but perhaps more than you >need <smile>. That depends on whether the files in his /usr/share/zoneinfo tree include the 2007 changes to the timezones he cares about. His question seemed to imply that they didn't, though his followup message later shows your guess was correct. I'm in North America and mine (RH 7.2) did not have the updated zone info, since they predated the 2005 law that moved the start and end dates of DST. They also didn't include a bunch of other zone changes from around the world. Getting the updated source data files and compiling them with zic, then moving the proper one into /etc/localtime worked fine though. Anyone else running an older (built more than a couple of years ago) version of Linux might still benefit from the link I found. Any idea why Linux doesn't use a symlink for /etc/localtime? That would have let me skip the cp step and just build stuff in /usr/share/zoneinfo and be done with it. I'm not a unix expert, but my understanding is that most unix versions use the symlink method for this. -- Mike B. -- "When a man says he approves of something in principle, it means he hasn't the slightest intention of carrying it out in practice." -- Otto von Bismarck