> A first step to debug date issues is to check current timezone
Thanks Max.
> (getenv "TZ")
This returns nil
> $ timedatectl
And this returns
Local time: mié 2022-03-30 12:17:36 CEST
Universal time: mié 2022-03-30 10:17:36 UTC
RTC time: mié 2022-03-30 10:17:37
Time zone: Europe/Madrid (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
> I have not looked what changed in emacs in respect to timezones.
The function `encode-time', which is implemented in C, has changed,
since it returns different things in Emacs 27 and Emacs 29, when it
receives as argument the return value of (org-parse-time-string
<timestamp>).