Skip to content

Commit

Permalink
fix: full.months
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed Apr 18, 2024
1 parent 11e5592 commit 9e33483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9e33483

Please sign in to comment.