emacs-orgmode
[Top][All Lists]
Advanced

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

Problem inserting meeting in agenda using "pm" time indicators


From: Eric S Fraga
Subject: Problem inserting meeting in agenda using "pm" time indicators
Date: Mon, 24 May 2021 16:31:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hello all,

In the past, I have been able to insert new entries in the diary file
using am/pm times, e.g. "2pm-3pm An entry", using "i d" in the agenda
view.

When I try this now, with org up to date from git, I get this backtrace:

,----
| Debugger entered--Lisp error: (error "Invalid duration format: \"3pm\"")
|   error("Invalid duration format: %S" "3pm")
|   org-duration-to-minutes("3pm")
|   org-agenda-format-item(nil "2pm-3pm testing" nil nil nil t)
|   org-agenda-add-entry-to-org-agenda-diary-file(day "2pm-3pm testing" (6 28 
2021))
|   org-agenda-diary-entry-in-org-file()
|   org-agenda-diary-entry()
|   funcall-interactively(org-agenda-diary-entry)
|   command-execute(org-agenda-diary-entry)
`----

If I represent the times using 24 hour clock, e.g. 14:00-15:00, it works
fine.

I know that there has been some ongoing discussion on durations etc. on
the list but I've not been tracking this.  Is what I want to do no
longer allowed?  I've looked at the ORG-NEWS file but did not see
anything.

Thank you,
eric

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-542-gf72a65



reply via email to

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