William Denton <w...@pobox.com> writes: > I've been clocking in and out of a project for a few months and now it's > over. > I tagged each entry with "search", so a brief clocktable report looks like > this: > > #+BEGIN: clocktable :maxlevel 1 :scope file :tags t :match "search" > #+CAPTION: Clock summary at [2023-04-11 Tue 13:48] > > | Tags | Headline | Time | > |------+-------------------+---------| > | | Total time | 4d 6:23 | > |------+-------------------+---------| > | | 2022-09 September | 0:38 | > | | 2022-10 October | 2:46 | > | | 2022-11 November | 7:41 | > | | 2022-12 December | 10:41 | > | | 2023-01 January | 10:16 | > | | 2023-02 February | 1d 3:56 | > | | 2023-03 March | 1d 3:47 | > | | 2023-04 April | 14:38 | > #+END > > How could I format the Time column in hours? How could I format it to > hours/8, > rounded, to represent work-days? I only want this formatting for this table, > I > have other clocktables in the same file I don't want to change. > > I've read about clocktables and the :formatter option, which I assume is what > will do it, but I can't find any helpful examples so I'm stuck.
I just had to rediscovery this recently. Check `org-duration-format`. -Dave