hrdl <g...@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