From 1a2a7a728f81f70351ee45b296115f33a751cd59 Mon Sep 17 00:00:00 2001 From: Darius Date: Mon, 17 Nov 2025 20:29:11 +0100 Subject: [PATCH] Generic Commit; Most likely a fix or small feature --- src/util/general.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/general.ts b/src/util/general.ts index f1eee03..790a803 100644 --- a/src/util/general.ts +++ b/src/util/general.ts @@ -32,7 +32,7 @@ export function calculateSecondsBetween( start: number, end: number, ): { seconds: number; toReadable: (roundToMinutes?: boolean) => string } { - const seconds = (end - start) / 1000; + const seconds = Math.max(60, (end - start) / 1000); return { seconds, toReadable: (roundToMinutes?: boolean) =>