mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdReportDay: Code cleanup
This commit is contained in:
parent
91a7cb8bf2
commit
4462e091c5
1 changed files with 1 additions and 2 deletions
|
@ -46,9 +46,8 @@ int CmdReportDay (
|
|||
Rules& rules,
|
||||
Database& database)
|
||||
{
|
||||
// Create a filter, and if empty, choose 'today'.
|
||||
auto filter = createFilterIntervalFromCLI (cli);
|
||||
|
||||
// If filter is empty, choose 'today'.
|
||||
if (! filter.range.started ())
|
||||
filter.range = Range (Datetime ("today"), Datetime ("tomorrow"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue