Generic Commit; Most likely a fix or small feature

This commit is contained in:
Darius
2025-11-17 20:29:11 +01:00
parent 6294cc89b4
commit 1a2a7a728f

View File

@@ -32,7 +32,7 @@ export function calculateSecondsBetween(
start: number, start: number,
end: number, end: number,
): { seconds: number; toReadable: (roundToMinutes?: boolean) => string } { ): { seconds: number; toReadable: (roundToMinutes?: boolean) => string } {
const seconds = (end - start) / 1000; const seconds = Math.max(60, (end - start) / 1000);
return { return {
seconds, seconds,
toReadable: (roundToMinutes?: boolean) => toReadable: (roundToMinutes?: boolean) =>