From 9028f546c6b4970d5291295792c62e4a213ba84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=94=EB=83=A5=20=28imnyang=29?= Date: Tue, 25 Mar 2025 23:25:10 +0900 Subject: [PATCH] Update About.tsx --- src/components/Home/About.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Home/About.tsx b/src/components/Home/About.tsx index 6acc040..7845299 100644 --- a/src/components/Home/About.tsx +++ b/src/components/Home/About.tsx @@ -7,7 +7,7 @@ export default function About() { useEffect(() => { // Calculate age based on reference date (2010-11-08) - const referenceDate = new Date(2010, 10, 8); // November is 10 because months are 0-indexed + const referenceDate = new Date(2010, 11, 8); // November is 10 because months are 0-indexed const currentDate = new Date(); let calculatedAge = currentDate.getFullYear() - referenceDate.getFullYear(); if (currentDate < new Date(currentDate.getFullYear(), referenceDate.getMonth(), referenceDate.getDate())) {