From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Bug: ox-taskjuggler :effort: property incorrectly converted when in minutes Date: Mon, 3 Nov 2014 15:53:49 -0600 Message-ID: References: <878ujtgqyj.fsf@nicolasgoaziou.fr> <87zjc9fbq6.fsf@nicolasgoaziou.fr> <87sii1famn.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlPZR-0000zI-L6 for emacs-orgmode@gnu.org; Mon, 03 Nov 2014 16:53:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlPZQ-0004oH-7P for emacs-orgmode@gnu.org; Mon, 03 Nov 2014 16:53:53 -0500 Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:55435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlPZP-0004ny-Sf for emacs-orgmode@gnu.org; Mon, 03 Nov 2014 16:53:52 -0500 Received: by mail-lb0-f180.google.com with SMTP id u10so1652432lbd.25 for ; Mon, 03 Nov 2014 13:53:50 -0800 (PST) In-Reply-To: <87sii1famn.fsf@nicolasgoaziou.fr> 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 , emacs-orgmode On Sun, Nov 2, 2014 at 5:25 PM, Nicolas Goaziou wrote: > John Hendy writes: > >> Thanks for the explanation. I pretty much only use duration, which has >> never had an issue. As a fluke I used effort and noticed the big >> difference. Thanks for illuminating the situation! > > Actually, I was slightly wrong. According to > `org-duration-string-to-minutes' and `org-effort-durations' docstrings, > Org accepts modifiers for numbers. IOW > > :Effort: 3d > > is a valid value in Org. > > The real problem is that "min" is not recognized as a valid modifier, > since "30min" is basically the same as "30" or "0:30". > > I changed `org-effort-durations' default value to include "min" as > a modifier, which will make your original example work. Awesome -- thanks a ton! John > > > Regards,