Detect whether a date is meant as range

- Add DatetimeParser::parse_range: If a date contains no time, it is assumed to be a fixed range, else an open range starting at given datetime
- Add tests for summary with named dates 'yesterday' and 'today'
- Remove closing of filter in CmdSummary.cpp
- Closes #333

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2020-06-05 13:35:19 +02:00
parent 2906f36830
commit 63f230013a
8 changed files with 3757 additions and 7 deletions

2924
src/DatetimeParser.cpp Normal file

File diff suppressed because it is too large Load diff