mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
CmdSummary: Duration replaced by ISO8601p
This commit is contained in:
parent
dbcd5dbe1d
commit
f17187a4b6
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <ViewText.h>
|
||||
#include <Duration.h>
|
||||
#include <ISO8601.h>
|
||||
#include <text.h>
|
||||
#include <util.h>
|
||||
#include <i18n.h>
|
||||
|
@ -170,7 +170,7 @@ int CmdSummary::execute (std::string& output)
|
|||
|
||||
view.set (row, 1, countPending[i.first]);
|
||||
if (counter[i.first])
|
||||
view.set (row, 2, Duration ((int) (sumEntry[i.first] / (double)counter[i.first])).format ());
|
||||
view.set (row, 2, ISO8601p ((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