GothenburgBitFactory / GothenburgBitFactory/timewarrior
Assume yesterday for future time
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 117
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 5
Description
Especially annoying when I am working past midnight and have to adjust back:
Specifying a time then errors out with `Time tracking cannot be set in the future.`
If I only specify a time, it would be sensible to assume yesterday if the time is in the future, that would make my life a whole lot easier!
Contributor guide
Research direction
Start by locating the command-line validation that emits `Time tracking cannot be set in the future.` and trace how an input containing only a time is interpreted. Confirm the desired behavior for future clock times, then add or update coverage so a future time is treated as yesterday and existing future-date errors remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100