emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug in clocktable report with formula %


From: Nicolas Goaziou
Subject: Re: [O] Bug in clocktable report with formula %
Date: Thu, 29 Dec 2016 01:20:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Andreas Mueller <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]