From: Stephen Eglen <sje30@cam.ac.uk>
To: emacs-orgmode@gnu.org
Subject: 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 19:21:38 +0100 [thread overview]
Message-ID: <875yzr4vkd.fsf@cam.ac.uk> (raw)
Hi,
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"
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."
Best wishes, Stephen
Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.28, cairo version 1.17.4)
of 2021-04-28
Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)
next reply other threads:[~2021-05-09 18:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-09 18:21 Stephen Eglen [this message]
2021-05-09 20:06 ` 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/)] Nicolas Goaziou
2021-05-09 21:45 ` Stephen Eglen
2021-05-10 16:08 ` Nicolas Goaziou
2021-05-11 15:21 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yzr4vkd.fsf@cam.ac.uk \
--to=sje30@cam.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).