From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug in clocktable report with formula % Date: Tue, 07 Feb 2017 17:01:57 +0100 Message-ID: <87lgtiugzu.fsf@nicolasgoaziou.fr> References: <20161228155427.GA14195@nowhere> <871swrpov1.fsf@nicolasgoaziou.fr> <20170205232953.GA11539@nowhere> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb8Dl-0007Go-GB for emacs-orgmode@gnu.org; Tue, 07 Feb 2017 11:02:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb8Dg-0008Dk-CW for emacs-orgmode@gnu.org; Tue, 07 Feb 2017 11:02:21 -0500 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:60100) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cb8Dg-0008CR-6E for emacs-orgmode@gnu.org; Tue, 07 Feb 2017 11:02:16 -0500 In-Reply-To: <20170205232953.GA11539@nowhere> (Andreas Mueller's message of "Mon, 6 Feb 2017 00:29:53 +0100") 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: Andreas Mueller Cc: emacs-orgmode@gnu.org Hello, Andreas Mueller writes: > I just noticed with updated org (org-20170124), although days are no > longer ignored, the percentage calculation is still wrong. > > It looks to me like the problem is that org-effort-durations calculates > minutes in a day with 8 hours per day (I assume the idea was to only > plan for 8 hour workdays). > > Changing org-effort-durations to calculate with 24 hour days gives the > correct result of 93% / 7%. Fixed. Thank you. Regards, -- Nicolas Goaziou