diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-01-21 22:36:29 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-01-21 22:36:29 +0100 |
commit | 5712412b5d8e4a8bc0c4ce6d6b54915aeb477e31 (patch) | |
tree | 8b05f8b681ebcd97753deffbf434b322261d398b | |
parent | 06cf532f475939a7a36b37b67429f130155e2349 (diff) | |
download | org-mode-5712412b5d8e4a8bc0c4ce6d6b54915aeb477e31.tar.gz |
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>
-rw-r--r-- | contrib/lisp/ox-taskjuggler.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/lisp/ox-taskjuggler.el b/contrib/lisp/ox-taskjuggler.el index b7f3f67..da92f55 100644 --- a/contrib/lisp/ox-taskjuggler.el +++ b/contrib/lisp/ox-taskjuggler.el @@ -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. |