wow typo issue

This commit is contained in:
암냥 2026-03-09 13:21:40 +00:00
commit 694da96439

View file

@ -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);