emacs-orgmode
[Top][All Lists]
Advanced

[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: Sun, 02 Nov 2014 23:47:32 +0100

Hello,

John Hendy <address@hidden> writes:

> I ran into an error with a 30min task which used the :effort: property
> to set this duration. Upon compilation, I noted the warning:
> ```
> file.tjp:10: Warning: 400.0d of effort of task one does not fit into
> the project time frame.
> Warning: 1 tasks could not be scheduled
> ```
>
> I looked at the .tjp file, and 30min had been converted to 4800.0
> hours. I was able to reproduce with the following setup:
>
> #+begin_src min-config
>   (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp/")
>   (require 'ox-taskjuggler)
> #+end_src
>
> emacs -Q M-x load-file ~/path/to/min-config
>
> #+begin_src tj-time-test.org
>
> * Project :taskjuggler_project:
> ** task1-effort-min
>    :PROPERTIES:
>    :start:    2014-11-01
>    :effort:   30min
>    :allocate: jwhendy
>    :END:
> ** task2-duration-min
>    :PROPERTIES:
>    :duration: 30min
>    :allocate: jwhendy
>    :blocker:  previous-sibling
>    :END:
>
> #+end_src
>

EFFORT is a special property in Org (i.e., it is not specific to
taskjuggler). It expects "HH:MM" format. So, you should set it to

  :Effort: 00:30

Regards,

-- 
Nicolas Goaziou



reply via email to

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