It only changes FORMAT from +01/+02 to +01/+00, but the rearguard should be 
+00/+01. And gmtoff is still 7200.
After the patch is installed, 
rearguard mode:
[root@ localhost ~]# timedatectl
               Local time: Mon 2026-06-29 03:40:52 +00
           Universal time: Mon 2026-06-29 01:40:52 UTC
                 RTC time: Mon 2026-06-29 01:43:58
                Time zone: Africa/Casablanca (+00, +0200)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: no

vanguard mode:
[root@localhost ~]# timedatectl
               Local time: Mon 2026-06-29 02:40:57 +01
           Universal time: Mon 2026-06-29 01:40:57 UTC
                 RTC time: Mon 2026-06-29 01:44:02
                Time zone: Africa/Casablanca (+01, +0100)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: no

The attached patch fixes the above bug.

Attachment: 0001-PROPOSED-Update-ziguard.awk-to-fix-Morocco-s-stdoff.patch
Description: 0001-PROPOSED-Update-ziguard.awk-to-fix-Morocco-s-stdoff.patch

Reply via email to