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:
Nicolas Goaziou 2020-01-21 22:36:29 +01:00
parent 06cf532f47
commit 5712412b5d
1 changed files with 1 additions and 5 deletions

View File

@ -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.