0

Suppose we have a org headline like:

* Org headline with clock entries
:LOGBOOK:
CLOCK: [2022-07-09 Sat 12:25]--[2022-07-09 Sat 12:39] =>  0:14
CLOCK: [2022-07-09 Sat 12:54]--[2022-07-09 Sat 13:19] =>  0:25
CLOCK: [2022-07-09 Sat 13:19]--[2022-07-09 Sat 14:19] =>  1:00
:END:

Is there a way to

  1. Find the earliest start time of all of the CLOCK entries?
  2. Find the sum (in minutes) of all of the CLOCK entries?
  3. Replace the CLOCK entries with a single CLOCK entry which begins at (1) and ends at (1) + (2)?
2
  • You have to clarify what you want in 3. : in your example there is a gap between the end of (1) and the beginning of (2), but not between the end of (2) and the beginning of (3). So I could understand combining (2) and (3), but do you really want to combine (1) and (2)? If so, how?
    – NickD
    Jul 11 at 1:19
  • He wants to fudge his timesheet ;-) Jul 12 at 10:00

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.