Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于2024年元旦假期的标识情况 #113

Open
cnhwl opened this issue Jan 12, 2024 · 1 comment
Open

关于2024年元旦假期的标识情况 #113

cnhwl opened this issue Jan 12, 2024 · 1 comment

Comments

@cnhwl
Copy link

cnhwl commented Jan 12, 2024

作者您好!我在获取2023年12月30日、12月31日数据的时候发现,它们因为是周六和周日,所以只是普通的holiday,但不是元旦假期。但我看2021年1月1日-1月3日(周五、六、日),这三天都被归为了元旦假期。版本已经更新到1.9.0,请问是什么原因呢?

@ldsink
Copy link
Contributor

ldsink commented Jan 23, 2024

国务院办公厅关于2021年部分节假日安排的通知
国务院办公厅关于2024年部分节假日安排的通知

数据部分都有链接引用的 https://github.com/LKI/chinese-calendar/blob/master/chinese_calendar/scripts/data.py

之前是 元旦:2021年1月1日至3日放假,共3天。
2024年有变动,是 一、元旦:1月1日放假,与周末连休。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants