mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
helper: Fixed bug where filter end was set twice instead of start
This commit is contained in:
parent
2b8fd1906d
commit
54cb92e18d
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ Filter createFilterFromCLI (const CLI& cli)
|
|||
args[1] == "before" &&
|
||||
args[2] == "<date>")
|
||||
{
|
||||
filter.range ().end (Datetime (start) - Duration (duration).toTime_t ());
|
||||
filter.range ().start (Datetime (start) - Duration (duration).toTime_t ());
|
||||
filter.range ().end (Datetime (start));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue