emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-agenda: incorrect display of multi-day date ranges [9.6.15


From: Ihor Radchenko
Subject: Re: [BUG] org-agenda: incorrect display of multi-day date ranges [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]
Date: Wed, 29 May 2024 16:59:11 +0000

hrdl <git@hrdl.eu> writes:

> Parts of org-agenda do not handle time ranges spanning multiple days
> correctly. This is exarcabated when setting
> org-agenda-default-appointment-duration , which adds an incorrect end
> time to the entries corresponding to the start and end date. To
> reproduce:
>
> (prog
>   (find-file "test.org")
>   (insert "* Entry\n<2024-05-30 Thu 14:00>--<2024-05-31 Fri 16:00>")
>   (save-buffer)
>   (setq org-agenda-default-appointment-duration 30) ;; optional
>   (org-agenda-file-to-front)
>   (org-agenda-list)
>   ;; Or, for ease of debugging
>   (with-current-buffer "test.org"
>     (setq date '(5 30 2024)) ;; Or 31
>     (org-agenda-get-blocks))
>   )

Confirmed.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]