AI prompts
base on 2023-2025中国节假日、调休、补班日历,ICS格式,可供IPhone、Google Calendar、Outlook等客户端订阅,包含节假日API # 中国节假日补班日历
![Last Commit](https://img.shields.io/github/last-commit/lanceliao/china-holiday-calender)
[![Telegram Group](https://img.shields.io/badge/Telegram-Group-33A8E3)](https://t.me/ShuYZGroup)
## 说明
2023~2025年中国放假、调休和补班日历 更新时间2024-11-12 18:23:07
### 支持3种类型的日历
- `holidayCal.ics` 包含放假和调休
- `holidayCal-HO.ics` 仅包含放假
- `holidayCal-CO.ics` 仅包含调休
### 订阅地址
*注:链接地址为完整日历,若仅需放假或调休日历,替换URL的日历名称即可*
- 国内订阅地址(**支持定制补班日程**): [https://www.shuyz.com/githubfiles/china-holiday-calender/master/holidayCal.ics](https://www.shuyz.com/githubfiles/china-holiday-calender/master/holidayCal.ics)
- jsDelivr订阅地址: [https://cdn.jsdelivr.net/gh/lanceliao/china-holiday-calender/holidayCal.ics](https://cdn.jsdelivr.net/gh/lanceliao/china-holiday-calender/holidayCal.ics)
- GitHub订阅地址(科学上网): [https://raw.githubusercontent.com/lanceliao/china-holiday-calender/master/holidayCal.ics](https://raw.githubusercontent.com/lanceliao/china-holiday-calender/master/holidayCal.ics)
### JSON API
- [https://www.shuyz.com/githubfiles/china-holiday-calender/master/holidayAPI.json](https://www.shuyz.com/githubfiles/china-holiday-calender/master/holidayAPI.json)
- [https://raw.githubusercontent.com/lanceliao/china-holiday-calender/master/holidayAPI.json](https://raw.githubusercontent.com/lanceliao/china-holiday-calender/master/holidayAPI.json)
## 特点
1. 节假日信息来自[中国政府网](http://www.gov.cn/),一手信息、权威准确
2. 包含最近3年的节假日信息,机器人自动维护,更新及时
3. 日历标题包含放假、补班的天数信息
4. 日历标题包含放假、补班等关键字,方便脚本开发。例如使用`iPhone`的`快捷指令`应用编写工作日闹钟
5. 每个补班日程自动设置上班提醒,默认时间为`09:00~18:00`、提前一个小时提醒
6. 支持个性化定制补班日程的开始、结束时间和提醒时间(例如提前一天提醒)
7. 没有广告!!!
## 放假日程
日程表 | 详细信息
:-------------------------:|:-------------------------:
![](./screenshots/holiday1.jpg) | ![](./screenshots/holiday2.jpg)
## 补班日程
日程表 | 详细信息
:-------------------------:|:-------------------------:
![](./screenshots/compensateday1.jpg) | ![](./screenshots/compensateday2.jpg)
## 定制补班日程
支持指定补班日程的开始、结束时间和提醒时间,格式为:`订阅地址`?token=`API密钥`&compStart=`上班时分秒`&compEnd=`下班时分秒`&compAlarm=`在开始时间点提前多少分钟提醒`
例如补班时间为早上8.30到晚上8.30,提前15分钟提醒,则订阅地址为 `https://www.shuyz.com/githubfiles/china-holiday-calender/master/holidayCal.ics?token=cb429c2a-81a6-4c26-8f35-4f4bf0c84b2c&compStart=083000&compEnd=203000&compAlarm=15`
**注意:**
- 时间格式为24小时制的6位数字,个位补0,例如`8点零5分`表示为`080500`
- 最大可提前9999分钟提醒,所以提前几天也是可以的。例如`compStart`为`0800`,设定前一天早上8点提醒,则`compAlarm`为`提前24小时x60=1440`; 设定前一天晚上8点提醒,则`compAlarm`为`提前12小时x60=720`
- 补班日程可设置为全天事件,指定`compStart=*`并且`compEnd=*`即可
- 由于订阅功能需消耗服务器资源进行计算,如果影响到服务器的正常使用,则定制功能可能随时取消
定制补班日程表 | 详细信息
:-------------------------:|:-------------------------:
![](./screenshots/customCompensateday1.png) | ![](./screenshots/customCompensateday2.png)
## 快捷指令应用
节假日查询 | 节假日闹钟
:-------------------------:|:-------------------------:
![](./screenshots/queryHoliday.jpg) | ![](./screenshots/holidayAlarm.jpg)
[https://www.shuyz.com/shortcuts/holiday-query](https://www.shuyz.com/shortcuts/holiday-query) | [https://www.shuyz.com/shortcuts/holiday-alarm](https://www.shuyz.com/shortcuts/holiday-alarm)
## API 字段说明
节假日对象:
| 字段名 | 类型 | 描述 |
| ------ | ------------ | ------------------------------ |
| Name | 字符串 | 节假日的名称。 |
| StartDate | 字符串 | 节假日的开始日期,格式为"YYYY-MM-DD"。 |
| EndDate | 字符串 | 节假日的结束日期,格式为"YYYY-MM-DD"。 |
| Duration | 整数 | 节假日的持续天数。 |
| CompDays | 字符串数组 | 补班日期的数组,格式为"YYYY-MM-DD"。 |
| URL | 字符串 | 放假通知的URL链接。 |
| Memo | 字符串 | 放假通知。 |", Assign "at most 3 tags" to the expected json: {"id":"6739","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"