Update timetable function to add input validation and improve error handling
All checks were successful
/ print-content (push) Successful in 13s
All checks were successful
/ print-content (push) Successful in 13s
This commit is contained in:
parent
ed3b1575b3
commit
601ebca93e
2 changed files with 29 additions and 6 deletions
|
|
@ -9,7 +9,8 @@ async function main() {
|
|||
const YYYY = now.getFullYear();
|
||||
const MM = String(now.getMonth() + 1).padStart(2, '0');
|
||||
const DD = String(now.getDate()).padStart(2, '0');
|
||||
const YYMMDD = `${YYYY}${MM}${DD}`;
|
||||
// const YYMMDD = `${YYYY}${MM}${DD}`;
|
||||
const YYMMDD = `20260403`;
|
||||
|
||||
// getDay(): 일(0) ~ 토(6)
|
||||
// comcigan.ts 라이브러리 기준에 맞춰 weekday 설정 필요
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue