From: John Hendy <jw.hendy@gmail.com>
To: John Hendy <jw.hendy@gmail.com>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Bug: ox-taskjuggler :effort: property incorrectly converted when in minutes
Date: Mon, 3 Nov 2014 15:53:49 -0600 [thread overview]
Message-ID: <CA+M2ft-Y2u5a0=SO+EL3gY83Hnq=M8iLrPz09O+qCVhowWa4hA@mail.gmail.com> (raw)
In-Reply-To: <87sii1famn.fsf@nicolasgoaziou.fr>
On Sun, Nov 2, 2014 at 5:25 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> John Hendy <jw.hendy@gmail.com> writes:
>
>> Thanks for the explanation. I pretty much only use duration, which has
>> never had an issue. As a fluke I used effort and noticed the big
>> difference. Thanks for illuminating the situation!
>
> Actually, I was slightly wrong. According to
> `org-duration-string-to-minutes' and `org-effort-durations' docstrings,
> Org accepts modifiers for numbers. IOW
>
> :Effort: 3d
>
> is a valid value in Org.
>
> The real problem is that "min" is not recognized as a valid modifier,
> since "30min" is basically the same as "30" or "0:30".
>
> I changed `org-effort-durations' default value to include "min" as
> a modifier, which will make your original example work.
Awesome -- thanks a ton!
John
>
>
> Regards,
prev parent reply other threads:[~2014-11-03 21:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 22:26 Bug: ox-taskjuggler :effort: property incorrectly converted when in minutes John Hendy
2014-11-02 22:47 ` Nicolas Goaziou
2014-11-02 22:54 ` John Hendy
2014-11-02 23:01 ` Nicolas Goaziou
2014-11-02 23:07 ` John Hendy
2014-11-02 23:25 ` Nicolas Goaziou
2014-11-03 21:53 ` John Hendy [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='CA+M2ft-Y2u5a0=SO+EL3gY83Hnq=M8iLrPz09O+qCVhowWa4hA@mail.gmail.com' \
--to=jw.hendy@gmail.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).