diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-06-04 19:52:30 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-11-20 20:42:30 +0100 |
commit | 7a6af39f576f1987e6254fa7dc787065e1bd8b8e (patch) | |
tree | c9d105fac85f2ee6292844750c0ba83f1f30a96a /lib | |
parent | 7889f53f08eb03f6349db2f7af9d14d0564b7fc8 (diff) |
Fix minute display in pp_duration
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.bash | 2 |
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))" } |