From 1d329c2570c20a2deff87c4c98b53c4f07e684b1 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Wed, 16 Nov 2022 19:15:20 +0100 Subject: timetrack3: Day counts are not useful --- modules/timetrack3/timetrack.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/timetrack3') diff --git a/modules/timetrack3/timetrack.html b/modules/timetrack3/timetrack.html index 3790f43..2d41bff 100644 --- a/modules/timetrack3/timetrack.html +++ b/modules/timetrack3/timetrack.html @@ -89,9 +89,7 @@ function formatduration(secs) { secs = ~~(secs / 60); if (secs % 60 != 0) r = secs % 60 + "m" + r; secs = ~~(secs / 60); - if (secs % 24 != 0) r = secs % 24 + "h" + r; - secs = ~~(secs / 24); - if (secs != 0) r = secs + "d" + r; + if (secs != 0) r = secs + "h" + r; if (r == "") r = "0s"; return r; } -- cgit v1.2.3-70-g09d2