From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Effort vs column "day" impedence mismatch [8.2.10 (release_8.2.10 @ c:/Users/yhluc00/emacs/share/emacs/24.4/lisp/org/)] Date: Wed, 17 Dec 2014 00:07:10 +0100 Message-ID: <87ppbj42jl.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y11CC-0008Tl-A5 for emacs-orgmode@gnu.org; Tue, 16 Dec 2014 18:06:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y11C3-00057U-B3 for emacs-orgmode@gnu.org; Tue, 16 Dec 2014 18:06:24 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:55243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y11C3-00057I-53 for emacs-orgmode@gnu.org; Tue, 16 Dec 2014 18:06:15 -0500 In-Reply-To: (yary's message of "Tue, 16 Dec 2014 16:00:00 -0500") 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: yary Cc: emacs-orgmode Hello, yary writes: > In general, would like the formatting of a time interval in column mode > to respect "org-effort-durations" when it is summarizing effort > durations. Below is a specific example. > > Using the default "org-effort-durations" variable and default column > mode settings, the following buffer shows a confusing total: > > | Task | Estimate | > |-----------------+----------| > | * Estimate | 1d 8:00 | > | ** Little Thing | 1d | > | ** Big Mess | 3d | > > > vvv effort_days.org vvv > > #+COLUMNS: %40ITEM(Task) %12Effort(Estimate){:} > > * Estimate > > ** Little Thing > :PROPERTIES: > :Effort: 1d > :END: > > ** Big Mess > :PROPERTIES: > :Effort: 3d > :END: > > ^^^ effort_days.org ^^^ > > The mis-match is due to "Effort" days being an 8-hour workday, whereas > the Column-view day is a 24-hour calendar day. I would like all the days > to be 8-hour work days, including the total, resulting in: > > | Task | Estimate | > |-----------------+----------| > | * Estimate | 4d | > | ** Little Thing | 1d | > | ** Big Mess | 3d | You can modify the "d" entry in `org-effort-durations' so it becomes 1440 minutes instead of 480. You may also want to modify "m" and "y". Regards, -- Nicolas Goaziou