From e3d41cf239ea879789460ebb33db0fcd533a2cab Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Thu, 16 Oct 2025 16:05:54 +0100 Subject: [PATCH] fix: change format of birthday date in age component --- src/components/Age.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Age.svelte b/src/components/Age.svelte index 6b71e4e..73952df 100644 --- a/src/components/Age.svelte +++ b/src/components/Age.svelte @@ -6,7 +6,7 @@ onMount(() => { const interval = setInterval(() => { // only people who can read code can see my birthday - const birthday = new Date("03/02/2010"); + const birthday = new Date(2010, 2, 3); const currentDate = new Date(); const diffInMs = currentDate.getTime() - birthday.getTime();