GMT and Local times are still out of sync
|Reported by:||Karvjorm||Owned by:||zooey|
|Component:||Preferences/Time & Date||Version:||R1/Development|
|Keywords:||Local time Greenwich GMT timezone||Cc:||Karvjorm, mdisreali@…|
|Has a Patch:||no||Platform:||All|
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).