[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: specifying end time of date as +0:20 [9.4.4 (release_9.4.4 @ /u
From: |
Nicolas Goaziou |
Subject: |
Re: Bug: specifying end time of date as +0:20 [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)] |
Date: |
Sun, 09 May 2021 22:06:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Stephen Eglen <sje30@cam.ac.uk> writes:
> I'm trying to understand the syntax (e.g. ‘11am+2:15’) for specifying
> the end time of an event, from (info "(org)The date/time prompt")
>
> It works okay if I do org-deadline with 11am+2:15
>
> * test 3
> DEADLINE: <2021-05-09 Sun 11:00-13:15>
>
> but if I do 11pm+2:15 then it gets confused:
>
> * test 4
> DEADLINE: <2021-05-09 Sun 23:00-25:15>
>
> and when I next call the agenda, I get an error:
>
> org-duration-to-minutes: Invalid duration format: "+1:15"
I solved this part on maint branch.
> Also, I couldn't see any mention in the documentation of
> org-agenda-default-appointment-duration -- is that worth mentioning in
> the node, e.g. after ‘11am+2:15’ ⇒ same as above
>
> "If you do not specify an end time, then you can provide a default
> duration by setting org-agenda-default-appointment-duration."
Sure. Patch welcome.
Regards,
--
Nicolas Goaziou