maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   Did Anyon elses N800 not handle the DST switch overnight? (https://talk.maemo.org/showthread.php?t=17702)

grog 2008-03-10 18:57

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
FYI from the maemo-users list:

Quote:

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

BobF4321 2008-03-10 19:09

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
Quote:

Originally Posted by DataPath (Post 153080)
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!

johenkel 2008-03-10 20:06

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
Quote:

Originally Posted by BobF4321 (Post 153112)
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.

jambo46 2008-03-10 20:21

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
Mine didn't either.

DJames1 2008-03-10 22:06

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
Quote:

Originally Posted by BobF4321 (Post 153112)
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.

Navi 2008-03-10 22:30

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
Mine adjusted automagically.

rick_pgc 2008-03-11 21:04

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
Quote:

Originally Posted by DJames1 (Post 153210)
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.

sjgadsby 2008-03-11 22:14

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
Quote:

Originally Posted by rick_pgc (Post 153657)
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.

andreas66 2008-03-12 01:18

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
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

TA-t3 2008-03-12 11:50

Re: Did Anyon elses N800 not handle the DST switch overnight?
 
Quote:

Originally Posted by andreas66 (Post 153753)
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.)


All times are GMT. The time now is 17:19.

vBulletin® Version 3.8.8