mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdSummary
- Converted from OldDuration to Duration.
This commit is contained in:
parent
0fba1957c2
commit
3302707768
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <ViewText.h>
|
||||
#include <OldDuration.h>
|
||||
#include <Duration.h>
|
||||
#include <text.h>
|
||||
#include <util.h>
|
||||
#include <i18n.h>
|
||||
|
@ -159,7 +159,7 @@ int CmdSummary::execute (std::string& output)
|
|||
|
||||
view.set (row, 1, countPending[i->first]);
|
||||
if (counter[i->first])
|
||||
view.set (row, 2, OldDuration ((int) (sumEntry[i->first] / (double)counter[i->first])).format ());
|
||||
view.set (row, 2, Duration ((int) (sumEntry[i->first] / (double)counter[i->first])).format ());
|
||||
|
||||
int c = countCompleted[i->first];
|
||||
int p = countPending[i->first];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue