2007 DST Update

From JacobAllred

Jump to: navigation, search

Starting March 2007, Daylight Saving Time has changed in the United States.

Contents

How to Update Windows-based Servers

How to Update Fedora/CentOS for New DST

Do I need to update?

Run this command:

Note: You may need to add "/usr/sbin/" to the front of this command.

zdump -v /etc/localtime | grep 2007

If output looks like this, then the update is already applied:

/etc/localtime  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 EST isdst=0 gmtoff=-18000

How do I update?

Assuming you have yum, simply update tzdata:

yum update tzdata

Symlink the appropriate timezone data file:

ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime

Check to make sure the update is in place:

zdump -v /etc/localtime | grep 2007

If output looks like this, then the update worked:

/etc/localtime  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 EST isdst=0 gmtoff=-18000

If you don't have yum, you'll have to copy from another machine:

scp root@66.195.218.86:/usr/share/zoneinfo/America/New_York /usr/share/zoneinfo/America/New_York
Personal tools