emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Francesco Pizzolante" <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: mailing-list-org-mode <emacs-orgmode-mXXj517/zsQ@public.gmane.org>
Subject: Re: Time computation errors
Date: Wed, 08 Apr 2009 08:46:25 +0200	[thread overview]
Message-ID: <ur603skvy.fsf@missioncriticalit.com> (raw)
In-Reply-To: <87d4botr7v.fsf-EZCVE/ZCkfKiJtKbxSCZYZ53EReGIhmS@public.gmane.org> (Bernt Hansen's message of "Tue, 07 Apr 2009 11:32:04 -0400")

Bernt Hansen,

Bernt Hansen wrote:
> "Francesco Pizzolante"
> <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org> writes:
>>>> Problems:
>>>> 1) The sum of Time1 for Test headline is wrong: 3:30 instead of
>>>>    2:30;
>>>> 2) I'm unable to sum times through a formula (see Time3 column).
>>>>    The same formula works perfectly when you replace times with
>>>>    integers.
>>>> Any feedback is welcome.
>>> I don't believe negative times are supported currently.
>> You are probably right. The fact is that:
>> 1) when you clock in and out, you can get negative durations (I
>>    know, it seems weird...) and then your clock table is wrong
>>    (negative duration are not taken into account when
>>    calculating the sums). Anyway, I think it should be good to
>>    support negative durations in order, for example, to compute
>>    differences between durations (which can lead to positive or
>>    negative times);
> How do you get negative times by clocking in and out?  The only way I
> can think of that you can get negative time is if you edit the clocked
> values after they are created.  By definition you have to clock in
> _before_ you clock out (right?) so everything clocked should be 0
> minutes or positive.  Am I missing something?

Not at all, you're right: you only get negative times when you
manually edit your clocks.

>> 2) I'm still unable to sum positive times value in my table (see
>>    my problem 2) in my previous email). Is there a specific
>>    operator in order to sum times?
> I'm not sure what the answer to this is.  I use the clocking features to
> summarize time spent working on tasks in clock reports only and I've
> never had the need to deal with negative values or summing clocked
> values manually in a table.
> Maybe other users have experience with summing times in tables outside
> of clock reports?

On example could be to determine the difference between the
estimated effort and the time really spent. You would
necessarily end up with negative durations (supposing that some
asks took less time than the estimated effort).

Does it make sense?


Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

  parent reply	other threads:[~2009-04-08  6:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07 12:29 Time computation errors Francesco Pizzolante
2009-04-07 13:24 ` Bernt Hansen
     [not found]   ` <87skkktx4n.fsf-EZCVE/ZCkfKiJtKbxSCZYZ53EReGIhmS@public.gmane.org>
2009-04-07 14:12     ` Francesco Pizzolante
2009-04-07 15:32       ` Bernt Hansen
     [not found]         ` <87d4botr7v.fsf-EZCVE/ZCkfKiJtKbxSCZYZ53EReGIhmS@public.gmane.org>
2009-04-08  6:46           ` Francesco Pizzolante [this message]
2009-04-08 14:48             ` Bernt Hansen
2009-04-07 22:37 ` Daniel Clemente

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:

  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=ur603skvy.fsf@missioncriticalit.com \
    --to=fpz-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \


* 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


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).