Hello, Andreas Mueller <li...@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