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