GothenburgBitFactory / GothenburgBitFactory/timewarrior

Easier interval splitting at given times

Open
#257 8 comments 2 reactions 0 assignees View on GitHub
discussion enhancement
Dominant language
C++
Stars
1.7k
Forks
117
Avg merge
1d 7h
Merged PRs (30d)
5

Description

Currently there does not seem to be any easy way to split a part of an interval.

For example, if you have logged interval 12:14:45 - 14:25:36, and then remember that you got a call at 13:15-13:40 that you would like to have a separate interval for, it would be a pain in the ass to modify with current lengthen/shorten/resize/split.

`timew split-at [ ...]` could work like this:

timew split-at 13:15 13:40

For each specified `date`, the interval that contains that date would be split into two separate intervals. You could then modify the tags separately.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing lengthen, shorten, resize, and split command implementations and the interval-handling code they use. Define the behavior for `timew split-at [ ...]`, including multiple dates, and verify that each containing interval is divided so the resulting parts can be tagged separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.