handle multi-day intervals #2

Open
opened 2023-07-20 07:39:31 +02:00 by j · 0 comments
Owner

for simplicity the script assumes that intervals always are contained in a single UTC calendar day.

If you work late in the night this assumption will break and the behaviour is not clear right now.

The solution probably lies in the _get_active_seconds_for_day function to automatically expand incomplete intervals (either missing start for this day, or stop for any day in the past).

for simplicity the script assumes that intervals always are contained in a single UTC calendar day. If you work late in the night this assumption will break and the behaviour is not clear right now. The solution probably lies in the `_get_active_seconds_for_day` function to automatically expand incomplete intervals (either missing start for this day, or stop for any day in the past).
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: j/punchclock#2
No description provided.