emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler


From: Eduardo Bellani
Subject: [O] [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler
Date: Tue, 05 Sep 2017 18:22:45 -0300
User-agent: mu4e 0.9.17; emacs 24.4.1

contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Change call
From the removed 'org-duration-minutes' function to 'org-duration-to-minutes'.

TINYCHANGE
---
 contrib/lisp/ox-taskjuggler.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/lisp/ox-taskjuggler.el b/contrib/lisp/ox-taskjuggler.el
index 2144b04..aee7ae9 100644
--- a/contrib/lisp/ox-taskjuggler.el
+++ b/contrib/lisp/ox-taskjuggler.el
@@ -861,7 +861,7 @@ a unique id will be associated to it."
      (and complete (format "  complete %s\n" complete))
      (and effort
           (format "  effort %s\n"
-                  (let* ((minutes (org-duration-minutes effort))
+                  (let* ((minutes (org-duration-to-minutes effort))
                          (hours (/ minutes 60.0)))
                     (format "%.1fh" hours))))
      (and priority (format "  priority %s\n" priority))
--
2.1.4

Attachment: signature.asc
Description: PGP signature


reply via email to

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