mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
helper: Now uses minimal time deltas for the summary
This commit is contained in:
parent
ab2e267c50
commit
b559b5a606
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ std::string intervalSummarize (
|
|||
{
|
||||
out << "Tracking " << tags << '\n'
|
||||
<< " Started " << interval.range.start.toISOLocalExtended () << '\n'
|
||||
<< " Current " << Datetime ().toISOLocalExtended () << '\n'
|
||||
<< " Current " << minimalDelta (interval.range.start, Datetime ()) << '\n'
|
||||
<< " Total " << std::setw (19) << std::setfill (' ') << total.formatHours () << '\n';
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@ std::string intervalSummarize (
|
|||
{
|
||||
out << "Recorded " << tags << '\n'
|
||||
<< " Started " << interval.range.start.toISOLocalExtended () << '\n'
|
||||
<< " Ended " << interval.range.end.toISOLocalExtended () << '\n'
|
||||
<< " Ended " << minimalDelta (interval.range.start, interval.range.end) << '\n'
|
||||
<< " Total " << std::setw (19) << std::setfill (' ') << total.formatHours () << '\n';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue