From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Andreas Mueller <lists@0x7.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug in clocktable report with formula %
Date: Thu, 29 Dec 2016 01:20:50 +0100 [thread overview]
Message-ID: <871swrpov1.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20161228155427.GA14195@nowhere> (Andreas Mueller's message of "Wed, 28 Dec 2016 16:54:28 +0100")
Hello,
Andreas Mueller <lists@0x7.ch> writes:
> I think I may have found a bug in the clocktable report: When using
> :formula %, it seems days are ignored in time percentage calculation.
>
> I have attached a simple test.org which demonstrates this.
>
> Emacs version: 24.5.1
> Org version: Org mode version 9.0.2 (9.0.2-10-g820d1e-elpa @ ~/.emacs.d/elpa/org-20161223/)
>
> Thanks & best regards,
> Andreas
>
> * Foo
> CLOCK: [2016-12-27 Wed 13:09]--[2016-12-28 Wed 15:09] => 26:00
> * Bar
> CLOCK: [2016-12-28 Wed 13:09]--[2016-12-28 Wed 15:09] => 2:00
>
> * Report
> #+BEGIN: clocktable :maxlevel 2 :scope file :formula %
> #+CAPTION: Clock summary at [2016-12-28 Wed 15:10]
> | Headline | Time | | % |
> |--------------+-----------+---+-------|
> | *Total time* | *1d 4:00* | | 100.0 |
> |--------------+-----------+---+-------|
> | Foo | 1d 2:00 | | 50.0 |
> | Bar | 2:00 | | 50.0 |
> #+TBLFM: $4='(org-clock-time% @2$2 $2..$3);%.1f
> #+END:
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-12-29 0:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-28 15:54 Bug in clocktable report with formula % Andreas Mueller
2016-12-29 0:20 ` Nicolas Goaziou [this message]
2017-02-05 23:29 ` Andreas Mueller
2017-02-07 16:01 ` Nicolas Goaziou
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=871swrpov1.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=lists@0x7.ch \
/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).