Timezones on Gentoo

When I was in college, I had a subscription to the Wall Street Journal for one of my economics classes. For some reason, one of the ads that really struck me from that semester was an ad for ADP, the payroll processing company. It was a really small ad, about one inch wide by two inches high. There was a photo of the U.S. Capitol building, with the tagline “Every year, these guys come up with more reasons for you to hire us,” and the ADP logo at the bottom.

Network administrators are saying the same thing with the early shift to daylight time this year in the U.S. The shift is particularly noteworthy to me, since I need to get to the airport for a flight to the Orlando IEEE. Beyond that, while I’m gone, I want to ensure that my MythTV system starts recording at the right time.

Which, if I hadn’t been paying attention, it wouldn’t have:
myth# zdump -v /etc/localtime | grep 2007
/etc/localtime Sun Apr 1 09:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 PST isdst=0
/etc/localtime Sun Apr 1 10:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 PDT isdst=1
/etc/localtime Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1
/etc/localtime Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST isdst=0

The MythTV system was built in 2005. Fortunately, all I needed to do was get the new timezone data files with an emerge timezone-data, and I was back in business:

myth# zdump -v /etc/localtime | grep 2007
/etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST isdst=0
/etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT isdst=1
/etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 PDT isdst=1
/etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 PST isdst=0

I’d rather just get rid of daylight time. In addition to the fun caused by changing software every time there’s a rule change (though I like the “Y2K7” label), some studies indicate that increased air conditioning usage negates the energy-saving effects from reduced lighting, leading to a slight energy cost.

One Response to “Timezones on Gentoo”

  1. […] I’m going to be away from my MythTV system for the IEEE 802.11 meeting in Orlando next week, so I had to update my MythTV system with the latest timezone fix. Getting the time zone data loaded correctly was just the start of the process, though. […]

Leave a Reply