emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Ortmann <daniel.ortmann@oracle.com>
To: emacs-orgmode@gnu.org
Subject: Re: [External] : Re: Invalid duration format (9.4.5)
Date: Mon, 10 May 2021 11:10:22 -0500	[thread overview]
Message-ID: <84f50271-6ff8-81bc-96de-0349797b9de1@oracle.com> (raw)
In-Reply-To: <319e1410-c803-4d45-9c7e-e6b57f7ee6d9@www.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 1998 bytes --]

This fix works for me.

    commit 6107c2b15bf19ab5300c2861db365a3dc310adc6 (origin/maint)
    Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
    Date:   Mon May 10 18:00:58 2021 +0200

         Revert "agenda: Fix "org-duration-to-minutes: Invalid duration
    format" error"

         This reverts commit bc857bfc62ba94e04fb338bfb35f4b612c114d0c.

         The "fix" breaks elsewhere, as reported below.

         Reported-by: Daniel Ortmann <daniel.ortmann@oracle.com>
    <http://lists.gnu.org/r/emacs-orgmode/2021-05/msg00592.html>


On 5/10/21 9:25 AM, Nicholas Savage wrote:
> Thanks for the report. This was also reported last night too: https://urldefense.com/v3/__https://lists.gnu.org/archive/html/emacs-orgmode/2021-05/msg00592.html__;!!GqivPVa7Brio!Non_TqJOEgfushDGmmgrZySe4dyz4pr69tdmeFRzKzRUwzoLORtfh7pMyW2pU_1ZotQ$
>
> I'll probably have a chance to look into this sometime today, but it probably won't be until this evening if anyone else has a chance earlier than that.
>
> On Mon, May 10, 2021, at 09:54, Detlef Steuer wrote:
>> Am Mon, 10 May 2021 16:45:30 +0300
>> schrieb Jarmo Hurri <jarmo.hurri@iki.fi>:
>>
>>> Greetings.
>>>
>>> To get my work done, I had to switch from master branch to stable, but
>>> now I started getting "invalid duration format" error when trying to
>>> create my daily agenda:
>>>
>>> org-duration-to-minutes: Invalid duration format: #("12:45-14:15 +1w"
>>> 0 15 (fontified nil org-category "schedule"))
>>>
>>> Here is the corresponding row, and the preceding row, from file
>>> schedule.org:
>>>
>>> <2021-04-15 Thu 09:15-10:45 +1w>
>>> <2021-04-19 Mon 12:45-14:15 +1w>
>>>
>>> Any hints?
>>>
>>> Jarmo
>>>
>>>
>>
>> Can confirm!
>>
>> Detlef
>>
>>
>> -- 
>> "Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben
>>   einfacher zu machen. (George Eliot)"
>>
>> Dr. Detlef Steuer
>> Helmut-Schmidt-Universität
>> Fakultät WiSo
>> Holstenhofweg 85
>> 22043 Hamburg
>>
>> Tel:  040/6541-2819
>> mail: steuer@hsu-hh.de
>>
>>


[-- Attachment #2: Type: text/html, Size: 4005 bytes --]

      reply	other threads:[~2021-05-10 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 13:45 Invalid duration format (9.4.5) Jarmo Hurri
2021-05-10 13:54 ` Detlef Steuer
2021-05-10 14:25   ` Nicholas Savage
2021-05-10 16:10     ` Daniel Ortmann [this message]

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=84f50271-6ff8-81bc-96de-0349797b9de1@oracle.com \
    --to=daniel.ortmann@oracle.com \
    --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).