Question about DST changes in the US

Christopher Mocock chris at wavestore.com
Wed Feb 14 16:46:53 UTC 2007


tokyoi at mac.com wrote:
> Kerry Miller wrote:
>> I've got several different flavors of Fedora Core running both at home
>> and
>> work and have been researching how to make changes to when it switches
>> from standard time to daylight saving time.  The only thing I found was
>> that it links to files under /usr/share/zoneinfo but those don't look
>> like
>> text files.  how do I edit those files and then compile them to make the
>> DST changes at the right time?
>>
>> Or, is there another fix for this?  Is there a patch or updated RPM to
>> replace the files in /zoneinfo?

I think you'll find the package is called tzdata. I've had to do some
work on this for some old Redhat 7.3 machines. In the old days it was
part of glibc-common for some crazy reason.

If you run:

zdump -v US/Central | grep 2007

you should see:

US/Central  Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST
isdst=0 gmtoff=-21600
US/Central  Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT
isdst=1 gmtoff=-18000
US/Central  Sun Nov  4 06:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 CDT
isdst=1 gmtoff=-18000
US/Central  Sun Nov  4 07:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 CST
isdst=0 gmtoff=-21600

If it's wrong, they'll say Apr 1 instead of Mar 11.

Hope that helps.

Chris.




More information about the fedora-list mailing list