aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-06-04 19:52:30 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-11-20 20:42:30 +0100
commit7a6af39f576f1987e6254fa7dc787065e1bd8b8e (patch)
treec9d105fac85f2ee6292844750c0ba83f1f30a96a /lib
parent7889f53f08eb03f6349db2f7af9d14d0564b7fc8 (diff)
Fix minute display in pp_duration
Diffstat (limited to 'lib')
-rw-r--r--lib/util.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.bash b/lib/util.bash
index a387d8b..2ac3eb6 100644
--- a/lib/util.bash
+++ b/lib/util.bash
@@ -162,7 +162,7 @@ pp_duration() {
printf "%dh %02dm %02ds\n" \
"$((diff / 60 / 60))" \
- "$((diff / 60))" \
+ "$((diff / 60 % 60))" \
"$((diff % 60))"
}