Module timer

Source

Functions§

is_timer_on
Returns true if a given task is active - its timer is running
spent_time
Returns the time spent on a given task
start_timer
Make the todo active - start its timer. Attribute tmr is set to the current time in seconds
stop_timer
Stops the todo’s timer and updates the spent time. Attribute tmr gets value ‘off’