[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Update org-clock-out-time when resolving clocks
From: |
Benson Chu |
Subject: |
[PATCH] Update org-clock-out-time when resolving clocks |
Date: |
Sun, 09 Aug 2020 18:54:52 -0500 |
Hello,
I noticed this while using `org-resolve-clocks' when
`org-clock-continuously' was set to true.
Let's say I clock into "Task 1" at 12:00, and then at 12:30, I start
working on "Task 2". Then, at 12:45, I notice that I forgot to clock out
of "Task 1". No worries, org-mode has `org-resolve-clocks'! So, I invoke
`org-resolve-clocks', keep 30 minutes, and then clock into "Task
2". However, when I clock in, the clock start time is 12:45, violating
the promise that `org-clock-continuously' makes.
This patch updates the variable `org-clock-out-time' when `org-clock-out'
gets passed an `at-time', which fixes the issue I run into.
The patch is attached. Is there anything else I need to do?
Thanks,
Benson
0001-org-clock.el-Update-org-clock-out-time-from-org-reso.patch
Description: org-clock-out-time patch
- [PATCH] Update org-clock-out-time when resolving clocks,
Benson Chu <=