Opened 14 years ago

Closed 14 years ago

#6370 closed bug (fixed)

GMT and Local times are still out of sync

Reported by: Karvjorm Owned by: zooey
Priority: normal Milestone: R1
Component: Preferences/Time & Date Version: R1/Development
Keywords: Local time Greenwich GMT timezone Cc: Karvjorm, mdisreali@…
Blocked By: Blocking:
Platform: All

Description

I just updated to hrev37641. Local time and GMT are still wrong. Actually, the problem is still the same as in ticket #3903.

When I open a terminal window, and type the date command, I will see the correct (local) time and timezone:

Thu Jul 22 23:51:56 EEST 2010

In winter time this is Europe/Helsinki time zone and it is two hours prior to GMT. If time is 20:00 in Helsinki, it is 18:00 in Greenwich. In summertime time difference is three hours. If time is 20:00 in Helsinki, it is 17:00 in Greenwich.

When I opened the Locale Preflet first time after upgrade, the local time is correct, but the time zone is Others->Greenwich. When I change time zone to Europe/Helsinki, local time will change from 20:00 to 23:00. This is three time out of the correct time (and time difference to GMT is now 6 hours).

Then I open the Time tab and change time to the local time (20:00). Local time is now correct and time zone is now correct, but time in Deskbar will change to 17:00 (which is actually GMT).

When I select the GMT radio button of Time tab, the Analog clock jumps back to 23:00. Time difference of Deskbar time and Analog clock is now 6 hours. :)

This could be fixed so, that when the time is read from the computer (not from time server) and if time zone is not known (if date command information about time zone shown in above is not used), then the default time is the local time and the GMT time should be NULL. First when time zone is selected in time preflet, GMT should be calculated, but the starting point should always be the local time (and time difference of selected time zone and Greenwich time).

Attachments (1)

deskbar_time_off_after_changing_tz.png (28.7 KB ) - added by Disreali 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Disreali, 14 years ago

Cc: mdisreali@… added
Keywords: timezone added
Version: R1/alpha2R1/Development

Experiencing this issue on hrev38122. Attaching screencap of Time preflet and Deskbar showing different times.

comment:2 by zooey, 14 years ago

Owner: changed from axeld to zooey
Status: newin-progress

comment:3 by zooey, 14 years ago

Resolution: fixed
Status: in-progressclosed

Should be fixed in hrev38158, but I recommend testing it with hrev38165.

Note: See TracTickets for help on using tickets.