mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Add convenience method to set range with two dates
This commit is contained in:
parent
9dd106116c
commit
c0039b6ff5
7 changed files with 16 additions and 8 deletions
|
@ -175,7 +175,7 @@ void validate (
|
|||
// Create a filter, and if empty, choose 'today'.
|
||||
auto filter = getFilter (cli);
|
||||
if (! filter.is_started ())
|
||||
filter.setRange (Range (Datetime ("today"), Datetime ("tomorrow")));
|
||||
filter.setRange (Datetime ("today"), Datetime ("tomorrow"));
|
||||
|
||||
// All validation performed here.
|
||||
if (findHint (cli, ":fill"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue