natescarlet / holiday-cn Goto Github PK
View Code? Open in Web Editor NEW📅🇨🇳**法定节假日数据 自动每日抓取国务院公告
License: MIT License
📅🇨🇳**法定节假日数据 自动每日抓取国务院公告
License: MIT License
依赖此项目开发了服务器订阅版本:https://github.com/459217974/cn-holiday-ics-server
伸手党可以直接使用我搭建的服务订阅节假日信息,实现自动更新。
自己有服务器的也可以自己搭建服务。
Travis CI 开始收费了
https://cdn.jsdelivr.net 请问文件多久更新一次,发现2024年数据没同步
RT
2020年获取到的json 2020年的春节 从1月24一直到2月2号都是春节了
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/main.yml
actions/checkout v3
actions/setup-python v4
dev-requirements.txt
requests ==2.31.0
beautifulsoup4 ==4.12.3
tqdm ==4.66.2
icalendar ==4.1.1
pytest ==7.4.4
coverage ==6.5.0
black ==23.12.1
一、元旦:1月1日放假,与周末连休。
2023-12-30 到 2024-1-1 放假
{
"name": "春节",
"date": "2021-02-07",
"isOffDay": false
},
应该是从 2.11 开始
因为这一年放了法西斯胜利纪念70周年假
判断某一天是否为工作日或者是法定节假日,仅适用于**
安装
pip install china-calendar
使用示例:
import china_calendar
# 清明节
assert china_calendar.is_holiday('2024-04-04') == True
assert china_calendar.is_workday('2024-04-04') == False
应该是8,9,10三天显示
是否考虑支持 ics 格式的输出,方便手机 / PC 用户直接订阅。
Lines 50 to 59 in 8a74a76
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)
https://natescarlet.coding.net/p/github/d/holiday-cn/git/raw/master/2022.json
返回
{"msg":{"user_not_login":"用户未登录"},"data":{"account_type":"0"},"code":1000}
比如2019年的劳动节,时间突然变更了,请问怎么解决。
未标记补班信息,这部分信息国务院网站是提供了的,但是本 Repo 丢失了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.