forked from mirrors/org-mode
ox-taskjuggler: Use effort property as-is
* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Use effort property as-is instead of applying `org-duration-to-minutes'. Reported-by: Benjamin Kästner <benjamin.kaestner@googlemail.com>
This commit is contained in:
parent
06cf532f47
commit
5712412b5d
|
@ -859,11 +859,7 @@ a unique id will be associated to it."
|
|||
"allocations")
|
||||
allocate))
|
||||
(and complete (format " complete %s\n" complete))
|
||||
(and effort
|
||||
(format " effort %s\n"
|
||||
(let* ((minutes (org-duration-to-minutes effort))
|
||||
(hours (/ minutes 60.0)))
|
||||
(format "%.1fh" hours))))
|
||||
(and effort (format " effort %s\n" effort))
|
||||
(and priority (format " priority %s\n" priority))
|
||||
(and milestone " milestone\n")
|
||||
;; Add other valid attributes.
|
||||
|
|
Loading…
Reference in a new issue