summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-06-24 20:34:22 -0700
committeriximeow <me@iximeow.net>2023-06-24 20:34:22 -0700
commit202d3fca10d9a5c1af69080f8141dd19da489294 (patch)
tree840878579e06a114d1bfdba845f1ef900ee5d3a3
parentc072da6059adca4a5df41d3bd8eb57093866d4fa (diff)
copypaste
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ec34073..badbc3f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -85,7 +85,7 @@ fn duration_as_human_string(duration_ms: u64) -> String {
let duration_ms = duration_ms % 1000;
let duration_sec = duration_sec % 60;
- let duration_min = duration_hours % 60;
+ let duration_min = duration_min % 60;
// no need to clamp hours, we're gonna just hope that it's a reasonable number of hours
if duration_hours != 0 {