Gnome time is off after sleep by 2h

Hi,

I have a laptop running 6.5.5-200.fc38.x86_64 that should be on timezone CEST right now; after sleeping it always changes time by 2h;
I can repair it by deactivating automatic time and reactivating it.

Maybe related: in Evolution Calendar, when I drag events within the CET period (in a few weeks time ahead of now which is CEST), the dragging does not properly work, also positioning the event off; there I have to drag the event 1h later so that it gets to its intended location in time.

Do you have ideas whether these issues are related, what might cause these?
Cheers!

Please post the output of timedatectl so we may see the actual settings.

1 Like

Thank you!

timedatectl~[pc@user ~]$ timedatectl
               Local time: Wed 2023-10-11 13:07:45 CEST
           Universal time: Wed 2023-10-11 11:07:45 UTC
                 RTC time: Wed 2023-10-11 11:08:06
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode cannot be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.

and after turning off/on automatic time I get

$ timedatectl
               Local time: Wed 2023-10-11 11:10:07 CEST
           Universal time: Wed 2023-10-11 09:10:07 UTC
                 RTC time: Wed 2023-10-11 11:10:07
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode cannot be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.

Unless you dual-boot Windows, you should set the RTC to UTC time, that is

        RTC in local TZ: no

While sleeping the OS can’t maintain the proper time, and therefore when waking up, it needs to get the time from the RTC clock. The OS then doesn’t have the information needed to adjust for the timezone, and therefore you get the wrong time.

The Windows system doesn’t like it when you set the RTC to local time, so there is a conflict there.

1 Like

I think you meant UTC, not local. MIcrosoft added a registry setting: How to configure Windows to use RTC set to UTC. I have a system that dual boots Windows 11:

% timedatectl
               Local time: Wed 2023-10-11 15:43:01 ADT
           Universal time: Wed 2023-10-11 18:43:01 UTC
                 RTC time: Wed 2023-10-11 18:43:01
                Time zone: America/Halifax (ADT, -0300)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

I rarely use windows, just when a Windows user has issues with software I also use (mostly on linux, but the majority of users are in large enterprises and run Windows). Once, after updating windows apps, the RTC was reset to local time, so some Windows app may have forced RTC set to local TZ. but the system is over 3 years old and I only saw that one time. My experience with large enterprises that require Windows has been that RTC is in UTC.

2 Likes