LinHES Forums http://forums.linhes.org/ |
|
DST in US, later releases still may not be correct for 2007 http://forums.linhes.org/viewtopic.php?f=5&t=13775 |
Page 1 of 1 |
Author: | George [ Tue Jan 23, 2007 1:01 pm ] |
Post subject: | DST in US, later releases still may not be correct for 2007 |
My box is running R5D1 and I was wondering if it knew about the DST changes. Some posts suggested that newer builds should be OK. The tables all date 8/25/2005. Some Googling suggesting a way to read the tables. I did it against the 2 tables that look like they could apply to the EST zone: root@mythtv:~# zdump -v /usr/share/zoneinfo/US/Eastern | grep 2007 /usr/share/zoneinfo/US/Eastern Sun Apr 1 06:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 EST isdst=0 gmtoff=-18000 /usr/share/zoneinfo/US/Eastern Sun Apr 1 07:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/US/Eastern Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/US/Eastern Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 EST isdst=0 gmtoff=-18000 root@mythtv:~# zdump -v /usr/share/zoneinfo/est5edt | grep 2007 /usr/share/zoneinfo/est5edt Sun Apr 1 06:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 /usr/share/zoneinfo/est isdst=0 gmtoff=-18000 /usr/share/zoneinfo/est5edt Sun Apr 1 07:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 edt isdst=1 gmtoff=-14400 /usr/share/zoneinfo/est5edt Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 edt isdst=1 gmtoff=-14400 /usr/share/zoneinfo/est5edt Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 /usr/share/zoneinfo/est isdst=0 gmtoff=-18000 The above seems to show that it doesn't have the updated schedule for 2007. I guess next is figuring out how to update the tables. |
Author: | thornsoft [ Tue Jan 23, 2007 1:03 pm ] |
Post subject: | |
FWIW, R5E50 gives me updated results: Code: root@mythtv:~# zdump -v /usr/share/zoneinfo/US/Eastern | grep 2007
/usr/share/zoneinfo/US/Eastern Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000 /usr/share/zoneinfo/US/Eastern Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/US/Eastern Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/US/Eastern Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000 |
Author: | George [ Wed Jan 24, 2007 7:31 am ] |
Post subject: | |
I see that the timezones are in the C library "libc6" . I did an apt-get update and tried to update libc6 and it told me it is already the newest. Code: root@mythtv:~# apt-get install libc6 Reading Package Lists... Done Building Dependency Tree... Done libc6 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 380 not upgraded. Then I read there is a tzdata package. I tried to install it but it couldn't find it: Code: root@mythtv:~# apt-get install tzdata
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package tzdata Does anyone have any suggestions? |
Author: | ceenvee703 [ Sat Jan 27, 2007 4:28 pm ] |
Post subject: | |
I followed the instructions here and it seems to have fixed my master backend. http://www.linuxquestions.org/questions ... p?t=518752 Guess we'll know on March 11th... |
Author: | George [ Tue Jan 30, 2007 9:15 am ] |
Post subject: | |
To follow up on my own question I found this on the MythTV list. It seems the trick was getting the tzdata package manually. I installed it and when I checked it has the right tz info for 2007. Code: wget http://debian.oregonstate.edu/debian/pool/main/t/tzdata/tzdata_2007a-1_all.deb
dpkg --install tzdata_2007a-1_all.deb |
Author: | graysky [ Tue Jan 30, 2007 7:24 pm ] |
Post subject: | |
Worked like a charm, George. Thanks (you should make this into a short howto). Before updating my box Code: $ zdump -v /etc/localtime | grep 2007 /etc/localtime Sun Apr 1 06:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 EST isdst=0 gmtoff=-18000 /etc/localtime Sun Apr 1 07:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 EST isdst=0 gmtoff=-18000 After your update: Code: $ zdump -v /etc/localtime | grep 2007
/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 |
Author: | graysky [ Thu Feb 08, 2007 3:19 pm ] |
Post subject: | |
Looks like that file no longer exsist... ah, they changed it to tzdata_2007a-3_all.deb now. I'll post this in the howto section. |
Author: | ashtonp [ Fri Mar 09, 2007 9:51 pm ] |
Post subject: | |
graysky wrote: Looks like that file no longer exsist... ah, they changed it to tzdata_2007a-3_all.deb now. I'll post this in the howto section.
Posting to this thread for 2 reasons: 1) to "mod up" the thread so it's highly visible the day before the change 2) to update the name of the tzdata file; it has changed again to "tzdata_2007b-1_all.deb" This works for R5D1: Code: # Switch to the root account (password required)
su root # Change to root's home directory cd # Get the update .deb wget http://debian.oregonstate.edu/debian/pool/main/t/tzdata/tzdata_2007b-1_all.deb # Apply the change dpkg --install tzdata_2007b-1_all.deb Use the "zdump" command given earlier in this thread to verify that the change has been successful. I don't know where the above-referenced "howto" is located; perhaps it has already been updated to be current. (I'm on dial-up, so only did a limited search for it.) Cheers, ashtonp (Ken) |
Author: | graysky [ Sat Mar 10, 2007 4:44 am ] |
Post subject: | |
ashtonp wrote: I don't know where the above-referenced "howto" is located; perhaps it has already been updated to be current. (I'm on dial-up, so only did a limited search for it.)
The howto is located here and was updated a while back when they changed the file name. Thanks for updating this thread as well. |
Author: | Coolhand [ Sun Mar 18, 2007 11:43 am ] |
Post subject: | |
thanks all for this! worked great. -c is the current version at this time for what it's worth. Note, side happy note. Thanks to knoppmyth I've gotten good enough at linux to move my company from ms-sql and asp to mySQL and php. It's Ubuntu as opposed to knopp but it's not MS and I'm happy at the money I am saving. ![]() Thanks all for that as well! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |