[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: ox-taskjuggler :effort: property incorrectly converted when
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: ox-taskjuggler :effort: property incorrectly converted when in minutes |
Date: |
Mon, 03 Nov 2014 00:01:53 +0100 |
John Hendy <address@hidden> writes:
> That mostly makes sense. Org's not case-sensitive, correct?
Correct.
> I was looking at the [granted, outdated] taskjuggler documentation and
> it features estimates in days (i.e. 10d): -
> http://orgmode.org/worg/org-tutorials/org-taskjuggler.html
>
> Is this recent (as in post-writing of that worg page)?
I cannot remember.
> Or are there other formats that could be accepted?
Not at the moment, since ox-taskjuggler.el hardcodes
(org-duration-string-to-minutes effort)
> It's unfortunate that org and taskjuggler overlap on this, as ideally
> one could pass any tj attribute as a property and it'd "do the right
> thing." I see why the issue exists now.
>
> So if I want to estimate a task taking 10 days, I need to input 80:00?
For now yes.
The code could be improved, however. I.e, if effort matches
"\\`[0-9]+:[0-5][0-9]\\'"
use `org-duration-string-to-minutes', otherwise insert it as-is.
Regards,