Reply
Thread Tools
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#31
FYI from the maemo-users list:

Andrew Daviel to maemo-users
Stale timezone rules for Canada

Yesterday was clock-forward time for most of the US and Canada, but my
N810 failed to switch. I only bought it a few weeks ago, AND I upgraded
to the latest OS2008 53.1 or whatever. Canada decided to follow the US
on this province-by-province, but BC decided on 31 March 2006 and the
Linux zone sources were updated the next day. So I'm wondering why
Nokia has failed to update given nearly 2 years notice.

In Maemo, timezones are in the libc6 package. I have
maemo-scratchbox-4.0.1 and the zones weren't all correct there, either.
But I was able to update libc and that seemed to fix Vancouver.
Prior to that, I was able to recompile the North American rules with zic
and copy the Vancouver zone to my N810, solving my immediate problem, as
per my page http://andrew.triumf.ca/dst.html

I have made a stab at collecting updated Canadian zones from my FC4
system (just because I've got it. It should really be done from source)
and made
http://andrew.triumf.ca/N810/reposit...anada-2006.deb

this wants to overwrite files from libc6 but is not a complete
replacement for libc6. Not sure how to do it in apt-get, but this works:
dpkg -i --force-overwrite
/var/cache/apt/archives/tzdata-canada-2006_2006g_armel.deb

so now
$ zdump -v America/Yellowknife|grep 2008 gets
America/Yellowknife Sun Mar 9 08:59:59 2008 UTC = Sun Mar 9 01:59:59 2008 MST isdst=0 gmtoff=-25200A
instead of
America/Yellowknife Sun Apr 6 08:59:59 2008 UTC = Sun Apr 6 01:59:59 2008 MST isdst=0 gmtoff=-25200
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 

The Following User Says Thank You to grog For This Useful Post:
Posts: 13 | Thanked: 0 times | Joined on Feb 2007 @ Ottawa, Canada
#32
Originally Posted by DataPath View Post
So I went to the time-changing tool, didn't change the time, but didn't hit cancel either - I hit ok, and everything started working correctly.
Just did this myself... hit OK instead of cancel in the date/time control panel, and now the clock applet looks OK. Looks like the clock applet needs to do more checking during initialization.... thanks!
 
Posts: 55 | Thanked: 4 times | Joined on Nov 2007 @ OMA
#33
Originally Posted by BobF4321 View Post
Just did this myself... hit OK instead of cancel in the date/time control panel, and now the clock applet looks OK. Looks like the clock applet needs to do more checking during initialization.... thanks!

Same ol' here.

j.
 
Posts: 1 | Thanked: 0 times | Joined on Jan 2008 @ Dallas, TX
#34
Mine didn't either.
 
Posts: 215 | Thanked: 44 times | Joined on Dec 2007
#35
Originally Posted by BobF4321 View Post
Just did this myself... hit OK instead of cancel in the date/time control panel, and now the clock applet looks OK. Looks like the clock applet needs to do more checking during initialization.... thanks!
Nope, that certainly doesn't work for Vancouver Canada. I think the explanation that OS2008 is built with libraries 2 years out of date is the correct one.
 
Posts: 161 | Thanked: 75 times | Joined on Feb 2008
#36
Mine adjusted automagically.
 
Posts: 1 | Thanked: 0 times | Joined on Mar 2008
#37
Originally Posted by DJames1 View Post
Nope, that certainly doesn't work for Vancouver Canada. I think the explanation that OS2008 is built with libraries 2 years out of date is the correct one.
It seems that time zones in the u.s. work, but Canadian ones do not. Changing my home city to Seattle displays the correct time, Vancouver which is also in the Pacific time zone is then one hour out but London England is correct.
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#38
Originally Posted by rick_pgc View Post
It seems that time zones in the u.s. work, but Canadian ones do not.
It's more than just Canada. I have New York as my home city and "Daylight saving zone" checked, but I had to change the hour manually.
 
Posts: 1 | Thanked: 1 time | Joined on Mar 2008
#39
What seems to work:

Install new timezones files manually
sudo gainroot
cd /media/mmc2 # or any fs location you can get to

# in web-browser
ftp://elsie.nci.nih.gov/pub/tzdata2008a.tar.gz

# save into /media/mmc2

tar -xzvf tzdata2008a.tar.gz

#update America timezones
zic America

zic backwards #don't worry about error messages

# set timezone manually; do "ls" in sub-dir America/ to see what's available

tzconfig America/Vancouver

# test
date # should show PDT (pacific daylight savings time)


Worked for me, I am running ntpd. It may take a while until ntpd resets the clock

All the explanations that are missing here are under
https://secure-support.novell.com/Ka...AL_Public.html
 

The Following User Says Thank You to andreas66 For This Useful Post:
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#40
Originally Posted by andreas66 View Post
Worked for me, I am running ntpd. It may take a while until ntpd resets the clock
That should be independent of DST (or timezone), the clock always runs at UTC - the timezone stuff only changes the translation from UTC to your timezone/DST for the actual display (and dates with 'ls -l' etc.)

(This is quite unlike a Windows box where the hardware clock is actually changed with the DST turnover - quite insane. It's possible to run Linux in that mode too, presumably to ease dual-boot handling, but it's not common at all to do so.)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:25.