emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: yary <not.com@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <87ppbj42jl.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAG2CFAYQB2hDY6Km5p3RNNObH1tQm9Ob4K=swTysockBdwyLZQ@mail.gmail.com> (yary's message of "Tue, 16 Dec 2014 16:00:00 -0500")

Hello,

yary <not.com@gmail.com> 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

      reply	other threads:[~2014-12-16 23:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16 21:00 Bug: Effort vs column "day" impedence mismatch [8.2.10 (release_8.2.10 @ c:/Users/yhluc00/emacs/share/emacs/24.4/lisp/org/)] yary
2014-12-16 23:07 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppbj42jl.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=not.com@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).