From 694da96439f72862aa2f9e5871ef0ec81b7ff7b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=94=EB=83=A5=20=28imnyang=29?= Date: Mon, 9 Mar 2026 13:21:40 +0000 Subject: [PATCH] wow typo issue --- app/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.ts b/app/index.ts index 2247745..b344cf9 100644 --- a/app/index.ts +++ b/app/index.ts @@ -6,7 +6,7 @@ async function main() { const today = new Date(); const YYMMDD = today.toISOString().slice(0, 10).replace(/-/g, "").toString(); // const YYMMDD = "20250306"; - const weekday = today.getDay() === 0 ? 6 : tomorrow.getDay() - 1; + const weekday = today.getDay() === 0 ? 6 : today.getDay() - 1; // const weekday = 2; console.log("📅 | date:", YYMMDD);