From 6c3c90e307384cddf5d9d46c1803d681935f5b51 Mon Sep 17 00:00:00 2001 From: valentinkolb Date: Tue, 14 May 2024 17:55:42 +0200 Subject: [PATCH] fix(util/duration): changed printed duration values to be more precise --- src/lib/datetime.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/datetime.ts b/src/lib/datetime.ts index e58ad6f..7dafd50 100644 --- a/src/lib/datetime.ts +++ b/src/lib/datetime.ts @@ -106,6 +106,7 @@ export const pprintDateRange = (d1: string | Date | Dayjs, d2: string | Date | D /** * Format the duration between two dates. + * The Duration is precise to the minute. * Example: "3 Wo, 1 Tag, 2 Std, 53 Min" * @param date1 * @param date2