From 9e3348316269c9fc50dc2f7501e41f9550d37c6c Mon Sep 17 00:00:00 2001 From: Valexr Date: Thu, 18 Apr 2024 14:31:08 +0200 Subject: [PATCH] fix: full.months --- src/lib/data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/data.ts b/src/lib/data.ts index 328275f..f16d668 100644 --- a/src/lib/data.ts +++ b/src/lib/data.ts @@ -27,7 +27,7 @@ export const county = derived(([start, time]), ([$start, $time], set) => { set({ years, months, days, full: { - months: years * 12, + months: years * 12 + months, days: Math.trunc(elapsedMS / (3600000 * 24)), hours: Math.trunc(elapsedMS / 3600000) }