GothenburgBitFactory / GothenburgBitFactory/timewarrior

Holidays do not allow to add time

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

Description

Take the 2025-12-26 as holiday and try to add a 2 h interval via

```sh
timew track 2025-12-26T8:00 for 2h work
```

which gives

```out
You cannot overlap intervals. Correct the start/end time, or specify the :adjust hint.
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the `timew track 2025-12-26T8:00 for 2h work` command and a 2025-12-26 holiday. Trace the holiday handling and overlap validation to determine why the interval is rejected. Done means a two-hour interval can be added on that holiday without an incorrect overlap error, while genuine overlaps remain protected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.