Skip to main content

Module clock

Module clock 

Source
Expand description

Org-mode CLOCK: entries — extraction and duration arithmetic.

A task may carry any number of clock lines recording time spent on it. This module finds them, sums their durations and formats the total the way org-mode does (HH:MM).

Functions§

calculate_total_minutes
Calculate total time from clock entries (in minutes).
extract_clocks
Extract all CLOCK entries from text.
format_duration
Format minutes as HH:MM