From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Bellani Subject: [PATCH] Fix org-duration-to-minutes call on ox-taskjuggler Date: Tue, 05 Sep 2017 18:22:45 -0300 Message-ID: <87y3psyh5m.fsf@brickabode.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpLJA-00021M-MT for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 17:23:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpLJ5-0008DJ-Mo for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 17:22:56 -0400 Received: from mail-ua0-x234.google.com ([2607:f8b0:400c:c08::234]:35882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpLJ5-0008D5-Hj for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 17:22:51 -0400 Received: by mail-ua0-x234.google.com with SMTP id q29so7959230uaf.3 for ; Tue, 05 Sep 2017 14:22:51 -0700 (PDT) Received: from personal ([189.4.72.113]) by smtp.gmail.com with ESMTPSA id p2sm322407vka.34.2017.09.05.14.22.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2017 14:22:50 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Change call From=20the removed 'org-duration-minutes' function to 'org-duration-to-minu= tes'. TINYCHANGE =2D-- 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 =2D-- 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" =2D (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)) =2D- 2.1.4 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlmvFaUACgkQSbLl0kCTjGmKhgCeLs1m/4F/VrJme6izu4LHR5YP kqsAn3F52adfyfvYpMDpFE69wN2vKXI4 =3ny9 -----END PGP SIGNATURE----- --=-=-=--