Allow to skip steps in clock reports that have zero time
commit5b68cf4c4fa005f9181dbec375e6f7464b5c22de
authorCarsten Dominik <carsten.dominik@gmail.com>
Sat, 22 May 2010 06:18:20 +0000 (22 08:18 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Sat, 22 May 2010 06:18:20 +0000 (22 08:18 +0200)
tree6b6c38b9e87f21879673fdc7e26314018932bc23
parent7e2158651db84550ae4c385e5ca5f6863b758fde
Allow to skip steps in clock reports that have zero time

* org-clock.el (org-dblock-write:clocktable): Return total time.
(org-clocktable-steps): Skip step when time is zero and the
:stepskip0 property is set.

Rainer Stengele writes:

> Creating clocktables for each day of a month is an excellent feature
> in org!  Problem for me is that many resulting tables have a total
> time of 0:00.  The problem is not really the zero time I spent but the
> appearance of the tables with zero total time.
>
> Is there a possibility to skip getting such tables?  Rational: I do
> not need to show my boss or customer days where I spent 0:00 time on
> the project.

Now you can set :stepskip0 to achieve this.
doc/org.texi
lisp/org-clock.el