* [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler
@ 2017-09-05 21:22 Eduardo Bellani
2017-09-05 21:56 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Eduardo Bellani @ 2017-09-05 21:22 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 929 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler
2017-09-05 21:22 [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler Eduardo Bellani
@ 2017-09-05 21:56 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-09-05 21:56 UTC (permalink / raw)
To: Eduardo Bellani; +Cc: emacs-orgmode
Hello,
Eduardo Bellani <ebellani@gmail.com> writes:
> contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Change call
> From the removed 'org-duration-minutes' function to
> 'org-duration-to-minutes'.
Applied. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-05 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-05 21:22 [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler Eduardo Bellani
2017-09-05 21:56 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).