Hey jman,

On 2025-05-28 05:56, jman wrote:
> when I clock in/out from a task (`org-clock-in` and `org-clock-out`) I would 
> like them to respect the variable `org-time-stamp-rounding-minutes` (number 
> of minutes to round time stamps to).

This should be possible! Setting `org-clock-rounding-minutes' to a
non-integer value will use the `car' of `org-timestamp-rounding-minutes'.

For example, if you set:

┌────
│ (setopt org-clock-rounding-minutes nil
│         org-timestamp-rounding-minutes '(5 5))
└────

then clocking into a task at 11:36 and out at 11:38 will produce the
following entry:

┌────
│ * Task
│ :LOGBOOK:
│ CLOCK: [2025-05-28 Wed 11:35]--[2025-05-28 Wed 11:40] =>  0:05
│ :END:
└────

Best,

-- 
Jacob S. Gordon
jacob.as.gor...@gmail.com

======================

Please avoid sending me HTML emails and MS Office documents.
https://useplaintext.email/#etiquette
https://www.gnu.org/philosophy/no-word-attachments.html

Reply via email to