Bug 13407 - Clock and date are wrong. Clock is 2 hours behind & the calender gives wrong day
Summary: Clock and date are wrong. Clock is 2 hours behind & the calender gives wrong day
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2014-05-18 11:54 CEST by roelof Wobben
Modified: 2014-05-24 01:39 CEST (History)
7 users (show)

See Also:
Source RPM: glib2.0
CVE:
Status comment:


Attachments

Description roelof Wobben 2014-05-18 11:54:00 CEST
Description of problem:

On Cinnamon the calender applet gives the wrong time. 
It is 2 hours behind.

Also it is today Sunday the 18 May, According to the calender applet it is today 
Saturday. The text above it shows the right day. 




Reproducible: 

Steps to Reproduce:
Comment 1 Shlomi Fish 2014-05-18 12:27:33 CEST
This is working fine here (Latest Cauldron , task-cinnamon-2.0.0-5.mga5 , cinnamon-2.2.9-1.mga5 on x86-64 ). Just for checking: if you start up a terminal window (e.g: xterm, konsole, gnome-terminal) and type "date", which time are you getting?

CC: (none) => shlomif

Comment 2 roelof Wobben 2014-05-18 12:33:14 CEST
zo mei 18 12:23:59 CEST 2014
Comment 3 Shlomi Fish 2014-05-18 12:34:53 CEST
(In reply to roelof Wobben from comment #2)
> zo mei 18 12:23:59 CEST 2014

Is it the correct time?
Comment 4 Shlomi Fish 2014-05-18 12:35:30 CEST
(In reply to Shlomi Fish from comment #3)
> (In reply to roelof Wobben from comment #2)
> > zo mei 18 12:23:59 CEST 2014
> 
> Is it the correct time?

https://duckduckgo.com/?q=cest%20time - seems like it.
Comment 5 Shlomi Fish 2014-05-18 12:39:05 CEST
Roelof: does it happen in a new UNIX user account?

Regards,

-- Shlomi Fish
Comment 6 roelof Wobben 2014-05-18 12:49:18 CEST
Here a screenshot of the problem : http://ibin.co/1MpSNwQAcgPZ

I have to try it on a new account. 

Roelof
Comment 7 roelof Wobben 2014-05-18 12:57:38 CEST
I make a new user with adduser. Logged oout and logged in as the new user.
Still the same problems.

Roelof
Comment 8 roelof Wobben 2014-05-18 13:48:55 CEST
I also checked it on Gnome. Clock is one hour ahead 12 instead of 13 hour and the date is still wrong. Also there Saturday instead of Sunday

CC: (none) => rwobben

Comment 9 roelof Wobben 2014-05-18 15:16:51 CEST
Here the output of timedatectl status: 

timedatectl status
      Local time: zo 2014-05-18 15:13:59 CEST
  Universal time: zo 2014-05-18 13:13:59 UTC
        Timezone: n/a (CEST, +0200)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: yes
      DST active: yes
 Last DST change: DST began at
                  zo 2014-03-30 01:59:59 CET
                  zo 2014-03-30 03:00:00 CEST
 Next DST change: DST ends (the clock jumps one hour backwards) at
                  zo 2014-10-26 02:59:59 CEST
                  zo 2014-10-26 02:00:00 CET

Warning: The RTC is configured to maintain time in the local timezone. This
         mode is not fully supported and will create various problems with time
         zone changes and daylight saving adjustments. If at all possible use
         RTC in UTC, by calling 'timedatectl set-local-rtc 0'.

What is most wierd is that the local clock gives now 13:36 

Roelof
Comment 10 Thierry Vignaud 2014-05-19 12:27:55 CEST
We're quite a lot to see this bug.
As stated on the dev ml, this is due to latest timecode update which either is bogus or unhided a bug in glib.

CC: (none) => olav, thierry.vignaud
Source RPM: cinnamon-2.2.9-1.mga5 => timezone glib

Comment 11 Liam Quin 2014-05-20 04:19:32 CEST
I am seeing this too; wherever I choose in the gnome time and date settings for timezone, I endup with the corresponding MLT (Mean Local Time) variant of the timezone.

I think this is because MLT was added to the *start* of all the tiemzone files maybe.

The date command in gnome-terminal gives the correct result, but the gnome-shell clock display does not.

CC: (none) => liam

Comment 12 Olav Vitters 2014-05-20 10:09:30 CEST
Filed https://bugzilla.gnome.org/show_bug.cgi?id=730426
Comment 13 Olav Vitters 2014-05-20 10:13:24 CEST
Noticed the following: https://bugzilla.gnome.org/show_bug.cgi?id=730332

It has a pretty technical explanation of what glib is doing wrong.
Thierry Vignaud 2014-05-20 13:22:56 CEST

Keywords: (none) => UPSTREAM
URL: (none) => https://bugzilla.gnome.org/show_bug.cgi?id=730332
Summary: Clock and date are wrong. Clock is 2 hours behind a the calender gives wrong day, => Clock and date are wrong. Clock is 2 hours behind & the calender gives wrong day
Source RPM: timezone glib => glib2.0

Comment 14 Olivier Blin 2014-05-20 13:54:33 CEST
See also https://bugs.gentoo.org/show_bug.cgi?id=510422

CC: (none) => grenoya, mageia

Comment 15 Olivier Blin 2014-05-24 01:39:09 CEST
Patches from upstream bgo#730332 merged in 2.40.0-2.mga5

I confirm this fixes the issue in gnome-shell.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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