-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
问题: 普通周末也被判断成节假日了
示例:
import chinese_calendar
from datetime import datetime
print(chinese_calendar.is_holiday(datetime(2025,9,27)))
print(chinese_calendar.get_holiday_detail(datetime(2025,9,27)))
print(datetime(2025,9,27).weekday())输出
True
(True, None)
5
2025/9/27是个非常平凡的周六
但是is_holiday&get_holiday_detail却把他判断成了节假日
get_holiday_detail还来了个None假
周末是休息日,但并不是节假日
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels