wow typo issue
This commit is contained in:
parent
8942051713
commit
694da96439
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ async function main() {
|
||||||
const today = new Date();
|
const today = new Date();
|
||||||
const YYMMDD = today.toISOString().slice(0, 10).replace(/-/g, "").toString();
|
const YYMMDD = today.toISOString().slice(0, 10).replace(/-/g, "").toString();
|
||||||
// const YYMMDD = "20250306";
|
// const YYMMDD = "20250306";
|
||||||
const weekday = today.getDay() === 0 ? 6 : tomorrow.getDay() - 1;
|
const weekday = today.getDay() === 0 ? 6 : today.getDay() - 1;
|
||||||
// const weekday = 2;
|
// const weekday = 2;
|
||||||
|
|
||||||
console.log("📅 | date:", YYMMDD);
|
console.log("📅 | date:", YYMMDD);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue