[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org-agenda thinks timestamps after 23:00 correspond to the nex
From: |
Ignacio Casso |
Subject: |
Re: [BUG] org-agenda thinks timestamps after 23:00 correspond to the next day |
Date: |
Wed, 30 Mar 2022 12:17:52 +0200 |
User-agent: |
mu4e 1.6.10; emacs 27.2 |
> 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>).