From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: ox-taskjuggler :effort: property incorrectly converted when in minutes Date: Mon, 03 Nov 2014 00:01:53 +0100 Message-ID: <87zjc9fbq6.fsf@nicolasgoaziou.fr> References: <878ujtgqyj.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl493-0004ux-C1 for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 18:01:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xl48v-0002G4-F0 for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 18:01:13 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:43493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl48v-0002Fy-8T for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 18:01:05 -0500 In-Reply-To: (John Hendy's message of "Sun, 2 Nov 2014 16:54:47 -0600") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode John Hendy writes: > That mostly makes sense. Org's not case-sensitive, correct? Correct. > I was looking at the [granted, outdated] taskjuggler documentation and > it features estimates in days (i.e. 10d): - > http://orgmode.org/worg/org-tutorials/org-taskjuggler.html > > Is this recent (as in post-writing of that worg page)? I cannot remember. > Or are there other formats that could be accepted? Not at the moment, since ox-taskjuggler.el hardcodes (org-duration-string-to-minutes effort) > It's unfortunate that org and taskjuggler overlap on this, as ideally > one could pass any tj attribute as a property and it'd "do the right > thing." I see why the issue exists now. > > So if I want to estimate a task taking 10 days, I need to input 80:00? For now yes. The code could be improved, however. I.e, if effort matches "\\`[0-9]+:[0-5][0-9]\\'" use `org-duration-string-to-minutes', otherwise insert it as-is. Regards,