mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdSummary: Show recent intervals that start later in day than first interval with :all
It was possible for `summary` command, when used with the :all hint, to skip over any intervals that start later than the first interval in the database. Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
parent
4aa8489243
commit
ae5e44c558
2 changed files with 15 additions and 1 deletions
|
@ -121,7 +121,7 @@ int CmdSummary (
|
|||
days_end = Datetime ();
|
||||
}
|
||||
|
||||
for (Datetime day = days_start; day < days_end; day++)
|
||||
for (Datetime day = days_start.startOfDay (); day < days_end; ++day)
|
||||
{
|
||||
auto day_range = getFullDay (day);
|
||||
time_t daily_total = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue