Check Workday CN
Check whether today is a workday with official holiday override data from:
https://cdn.jsdelivr.net/gh/NateScarlet/holiday-cn@master/{year}.json
Workflow
- Run
python3 scripts/check_today_workday.py. - Read
is_workdayfrom output. - Explain reason:
- If date exists in
days[], useisOffDaydirectly (false=> workday,true=> off day). - If date does not exist in
days[], fall back to weekday rule (Mon-Fri workday, Sat-Sun off day).
- If date exists in
Commands
Us
[Description truncada. Veja o README completo no GitHub.]