LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Preparing your Linux systems for the new DST (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-preparing-your-linux-systems-for-the-new-dst-535024/)

LXer 03-06-2007 06:16 AM

LXer: Preparing your Linux systems for the new DST
 
Published at LXer:

"Spring forward; Fall back," That's the way the saying goes. Some years I get it backwards, but I eventually catch on. I've never had to worry about my PCs getting it wrong before, though. Now, with the recent changes in the Daylight Savings Time (DST) rules, I do. Fortunately, there are ways to make sure that both my Linux computers and I get the new rules right.

Read More...

ille.pugil42 03-08-2007 03:35 PM

I've followed the information in your guide, and in several computers it worked great. Unfortunately, I've run into a bit of a roadblock. If I check it the 'standard way', it shows no change:

output of zdump -v /etc/localtime | grep 2007
Code:

/etc/localtime  Sun Apr  1 09:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 PST isdst=0 gmtoff=-28800
/etc/localtime  Sun Apr  1 10:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST isdst=0 gmtoff=-28800

but when I specify time zone...


output of zdump -v /etc/localtime PST8PDT | grep 2007
Code:

/etc/localtime  Sun Apr  1 09:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 PST isdst=0 gmtoff=-28800
/etc/localtime  Sun Apr  1 10:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1 gmtoff=-25200
/etc/localtime  Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST isdst=0 gmtoff=-28800
PST8PDT        Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST isdst=0 gmtoff=-28800
PST8PDT        Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT isdst=1 gmtoff=-25200
PST8PDT        Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 PDT isdst=1 gmtoff=-25200
PST8PDT        Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 PST isdst=0 gmtoff=-28800

So what does this mean? Does it mean I'm set, or that the system will be rather confused? I followed all the steps twice over, with no apparent changes. There wasn't a /usr/lib/zoneinfo folder, but for a cautionary measure, I created it and copied the files there as well (it mentioned having to copy the files to that location on 'older systems').


All times are GMT -5. The time now is 11:58 PM.