GothenburgBitFactory / GothenburgBitFactory/timewarrior

Improve error message in `timew modify`

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

Description

Follow-up for the side-issue in #321

Assuming that there is a stopped interval in @1:

```sh
❯ timew modify end @1 20200629T10:40
No updated time specified. See 'timew help modify'.
```

This should report that the time format is wrong, not that there is nothing.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the documented `timew modify end @1 20200629T10:40` command and trace the `timew modify` handling of the supplied time. Done means this invalid time format produces an appropriate format error instead of “No updated time specified”; consult any existing validation tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.