From 133486724ab401f1d2a0930f923ed167d7f6735f Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Wed, 14 Jan 2026 17:59:37 +0000 Subject: [PATCH] fix: use ISO 8601 for date in age counter --- 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 d8dd24b..1c260a7 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(2010, 2, 3); + const birthday = new Date("2010-02-03T00:00:00.000Z"); const currentDate = new Date(); const diffInMs = currentDate.getTime() - birthday.getTime();