[CentOS] New time zone

Fri Feb 2 08:07:50 UTC 2007
Pierre Bourgin <pierre.bourgin at arteris.com>

R Lists06 a écrit :
>> I believe it was taken care of with tzdata-2006m-3.el4.
>>
>> you can run the following command on you server:
>>
>> # zdump -v US/Pacific
>>
>> replace US/Pacific with your timezone.    you should see Sun Mar 11.  if
>> you see Apr 1 they you need to update.
>>
>> hth.
>> cameron
> 
> What do you mean?
> 
> If I do this
> 
> [root at ns1 ~]# zdump -v US/Pacific | wc -l
> 372
> 
> Obviously I get 372 lines of stuff...
> 
> How does one decipher that?

I guess the command should be
% zdump -v US/Pacific | grep 2007

centos 4.4 output (OK):
US/Pacific  Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST 
isdst=0 gmtoff=-28800
US/Pacific  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT 
isdst=1 gmtoff=-25200
US/Pacific  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 PDT 
isdst=1 gmtoff=-25200
US/Pacific  Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 PST 
isdst=0 gmtoff=-28800

RHEL 3 output (system unpatched):
US/Pacific  Sun Apr  1 09:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 PST 
isdst=0 gmtoff=-28800
US/Pacific  Sun Apr  1 10:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 PDT 
isdst=1 gmtoff=-25200
US/Pacific  Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT 
isdst=1 gmtoff=-25200
US/Pacific  Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST 
isdst=0 gmtoff=-28800