Comment 0 for bug 406949

Revision history for this message
David Balažic (xerces8) wrote :

Ubuntu 9.04 x86_64
Installed from Windows XP with Wubi rev129

current wall clock time : 17:30
UTC time : 15:30

Windows system setting for timezone : (GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
(summer time is in effect)

I installed Ubuntu and after booting into it, the situation is like this:

stein@ubuntu:~$ date -u
Thu Jul 30 17:34:05 UTC 2009
stein@ubuntu:~$ date -R
Thu, 30 Jul 2009 13:34:10 -0400
stein@ubuntu:~$ date
Thu Jul 30 13:34:22 EDT 2009
stein@ubuntu:~$ cat /etc/timezone
America/New_York
stein@ubuntu:~$ sudo hwclock --show
Thu 30 Jul 2009 01:37:41 PM EDT -0.630628 seconds

So:
 - it reads the hwclock as if it were in UTC and not localtime; the resolution of bug 8088 suggests, that localtime should be used (actually it should be asked)
 - consequently it writes it wrong on shutdown (I guess it synchronized over internet during uptime)
 - timezone is wrong, it should be Europe/Ljubljana or similar