emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to generate clock report for hours worked each day?
@ 2017-09-23 20:51 ConcreteVitamin
  2017-09-24  2:04 ` Matt Lundin
  0 siblings, 1 reply; 11+ messages in thread
From: ConcreteVitamin @ 2017-09-23 20:51 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1862 bytes --]

org-clock-report is awesome; however, it reports time spent on each task.
Is there any custom command that you use to generate a clock report *showing
hours worked, across tasks, for each day*?

The trouble I've encountered is that, I file my TODO captures under a
file+datetree entry. For example, one TODO task might be filed on Day -2,
but I could be working on it -- i.e., clocking in and out -- on Day -2, -1,
and today. So generating a table naively will just show something like:

#+BEGIN: clocktable :maxlevel 4 :scope file :block thisweek
#+CAPTION: Clock summary at [2017-09-23 Sat 11:48], for week 2017-W38.
| Headline                              | Time      |         |       |       |
|---------------------------------------+-----------+---------+-------+-------|
| *Total time*                          | *1d 0:12* |         |       |       |
|---------------------------------------+-----------+---------+-------+-------|
| 2017                                  | 1d 0:12   |         |       |       |
| \_  2017-09 September                 |           | 1d 0:12 |       |       |
| \_    2017-09-11 Monday               |           |         |  1:23 |       |
| \_      look into AAA BBBB project    |           |         |       |
| \_    2017-09-15 Friday               |           |         |  3:33 |       |
| \_      look into XXX YYYY project    |           |         |       |  3:33 |
#+END:

Note that the second TODO task was filed under 2017-09-15 Friday, which was
the date I entered the task. But really, I might have worked on it on
Friday, Saturday, etc. I just want another command to show how many hours
I've worked on each day, generating a report such as the following:

2017-09-11 Monday     xx hours yy mins worked (across all tasks)
...
2017-09-15 Friday     zz hours tt mins worked (across all tasks)

Thanks in advance.

[-- Attachment #2: Type: text/html, Size: 6316 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-02  9:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-23 20:51 How to generate clock report for hours worked each day? ConcreteVitamin
2017-09-24  2:04 ` Matt Lundin
2017-09-24  5:28   ` ConcreteVitamin
2017-09-24 14:35     ` Matt Lundin
2017-09-25  3:58       ` ConcreteVitamin
2017-09-25  7:39         ` Eric S Fraga
2017-09-26 18:27           ` ConcreteVitamin
2017-09-27  5:57             ` Eric S Fraga
2017-09-28 23:43               ` ConcreteVitamin
2017-09-29 12:58                 ` Eric S Fraga
2017-10-02  9:17             ` Yasushi SHOJI

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).