mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
data: Properly captures expanded hints
This commit is contained in:
parent
eaf72ff1f2
commit
6e2e4cab15
2 changed files with 6 additions and 2 deletions
|
@ -62,9 +62,12 @@ Interval getFilter (const CLI& cli)
|
|||
|
||||
if (arg.hasTag ("HINT"))
|
||||
{
|
||||
Range dummy;
|
||||
if (expandIntervalHint (canonical, dummy))
|
||||
Range range;
|
||||
if (expandIntervalHint (canonical, range))
|
||||
{
|
||||
start = range.start.toISO ();
|
||||
end = range.end.toISO ();
|
||||
|
||||
args.push_back ("<date>");
|
||||
args.push_back ("-");
|
||||
args.push_back ("<date>");
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <Duration.h>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue