emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem inserting meeting in agenda using "pm" time indicators
@ 2021-05-24 15:31 Eric S Fraga
  2021-05-30  6:12 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2021-05-24 15:31 UTC (permalink / raw)
  To: Emacs Org mode mailing list

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-18 12:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 15:31 Problem inserting meeting in agenda using "pm" time indicators Eric S Fraga
2021-05-30  6:12 ` Ihor Radchenko
2021-06-17 17:30   ` Nicolas Goaziou
2021-06-18  8:38     ` Eric S Fraga
2021-06-18 12:14       ` Nicolas Goaziou
2021-06-18 12:42         ` Eric S Fraga

Code repositories for project(s) associated with this 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).