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) }