Browse Source

Translate effort property literally

Previously effort property was transformed as hours, which results time span misinterpretation (e.g. 1d became 24h then recognized as 3 work days). After patch effort value will be treated as is.
gizak 8 months ago
parent
commit
79a4d45296
1 changed files with 1 additions and 5 deletions
  1. 1 5
      contrib/lisp/ox-taskjuggler.el

+ 1 - 5
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.