Bug 5769 - (int-144386) Date and time: "Update automatically" breaks timezone, daylight savings
: Date and time: "Update automatically" breaks timezone, daylight savings
Status: NEW
Product: Utilities
: 5.0/(3.2010.02-8)
: N900 Maemo
: Low normal with 4 votes (vote)
: ---
Assigned To: unassigned
: clock-bugs
  Show dependency tree
Reported: 2009-10-25 08:58 UTC by Lucas Maneos
Modified: 2011-05-25 15:38 UTC (History)
6 users (show)

See Also:



You need to log in before you can comment on or make changes to this bug.

Description Lucas Maneos (reporter) 2009-10-25 08:58:40 UTC

1. Install new SIM, set region to UK, clock to update automatically (defaults)
and correct date / time.
2. Wait for daylight savings to stop being in effect for local timezone.
3. Check date.

Nokia-N900-41-10:~# date ; hwclock ; readlink /etc/localtime
Sun Oct 25 06:14:20 GMT 2009
Sun Oct 25 06:14:20 2009  0.000000 seconds

Ie, hardware clock set to UTC, correct local timezone and time.

Nokia-N900-41-10:~# date ; hwclock ; readlink /etc/localtime
Sun Oct 25 07:14:20 GMT-1 2009
Sun Oct 25 07:14:20 2009  0.000000 seconds

Once so far.

openntpd is not installed, under the assumption that "update automatically"
uses NTP and/or the GPS.  I guess it's using the cellular network instead?

Manual local time configuration sets the correct timezone, so I can't re-test
by setting the clock in the past to fake a DST change.

No idea what effect this has on future calendar events or alarms as I didn't
have any set.

clockd syslog entries & /home/user/.clockd.conf from before the TZ change look
Oct 23 13:26:16 Nokia-N900-41-10 clockd: timezone set to ':Etc/GMT-1', operator
time is enabled, network time autosync is enabled, time format is %R
Oct 23 13:26:16 Nokia-N900-41-10 clockd: Date now is 2009-10-23 13:26:16 (DST
OFF), TZ=:Etc/GMT-1, offset -3600/-3600, timezone=-3600, tzname=GMT-1/GMT-1

/home/user/.clockd.conf contents:

After manual clock change it looks correct:

Oct 25 07:52:58 Nokia-N900-41-10 clockd: Setting time to 1256453520
Oct 25 07:52:00 Nokia-N900-41-10 rclockd: time set succesfully to 1256453520
Oct 25 07:52:00 Nokia-N900-41-10 clockd: Date now is 2009-10-25 06:52:00 (DST
OFF), TZ=:Europe/London, offset 0/0, timezone=0, tzname=GMT/BST
Oct 25 07:52:00 Nokia-N900-41-10 clockd: configuration file
/home/user/.clockd.conf saved

Comment 1 Alia Merali 2009-10-25 15:25:45 UTC
Think ive got the same issue, time hasnt updated according to daylight saving,
even though update automatically is on.

14:20 local time sun 25/10 (gmt +1)

If i turn off 'update automatically', time zone shows:
GMT +0 (London, United Kingdom).

If i untick and tick update automatically the summary shows 13:20, but if I
click save it goes back to 14:20.
Comment 2 Andre Klapper maemo.org 2009-10-27 03:27:45 UTC
I also had "Update automatically" enabled and for LANG=English (UK) and
REGION=Czech Republic (though I was in Germany at that time) all worked fine.
Comment 3 Alia Merali 2009-10-28 00:15:55 UTC
The time changed later on the 25/10 at about 16:30.
Comment 4 bugs.maemo.org@falkensweb.com 2010-03-28 08:40:15 UTC
This has failed again now on my UK device, which should have gone into BST a
few hours ago and has failed to do so.

'Update automatically' is on, /home/user/.clockd.conf contains
system_tz=..../Etc/GMT0, /etc/localtime matches that, rather than Europe/London
"Language and Region" is set to English(UK).
"Date and time" has 'update automatically' on. If I turn it off, I see the
region is set to "GMT+2 (Rome, Italy)". There is no way I'd have set that
I changed it to London by tapping it, then set updates back on again, and like
the OP the summary in the settings says the correct time, but after pressing
'Save' it loses an hour again.

I've now had to set the time by hand, which kinda makes a mockery of the
auto-update settings.

I have the latest public 3.2010.02-8.203.1 firmware.
Comment 5 Unai Uribarri 2010-03-31 14:50:10 UTC
The date & time automatic updated is disabled in my device, with the timezone
set to "GMT+2 (Madrid, EspaƱa)". When I click in "Automatic Update", the
timezone changes to "GMT+1" and I'm unable to change it back to GMT+2.

This bugs makes "Automatic Update" useless.
Comment 6 Andre Klapper maemo.org 2010-04-16 17:46:39 UTC
"Reproduced internally with 2010.11-8, and transition from EET to EEST with
Finland. The time zone is not updated from the network until the device is
rebooted. An S60 phone got the correct time zone at the same time."
Comment 7 drchaotica 2010-11-11 01:19:10 UTC
I'm having a similar issue, I set the timezone to Sydney, Australia; turning on
Update Automatically shifts the timezone to Lord Howe Island. Consequently all
my sync'd calendar items are off by half an hour.