2023~2025 China Holiday, Rest and Replenishment Calendar Update Time 2024-11-12 18:23:07
holidayCal.ics
includes holidays and resumption
holidayCal-HO.ics
only includes holidays
holidayCal-CO.ics
only includes rest adjustment
Note: The link address is a complete calendar. If you only need to have a holiday or a rest calendar, you can replace the name of the URL's calendar.
Domestic subscription address ( supports customization of re-scheduling schedule ): https://www.shuyz.com/githubfiles/china-holiday-calender/master/holidayCal.ics
jsDelivr subscription address: https://cdn.jsdelivr.net/gh/lanceliao/china-holiday-calender/holidayCal.ics
GitHub subscription address (Scientific Internet): https://raw.githubusercontent.com/lanceliao/china-holiday-calender/master/holidayCal.ics
https://www.shuyz.com/githubfiles/china-holiday-calender/master/holidayAPI.json
https://raw.githubusercontent.com/lanceliao/china-holiday-calender/master/holidayAPI.json
Holiday information comes from the Chinese government website, first-hand information, authoritative and accurate
Contains holiday information for the last 3 years, the robot is automatically maintained and timely updated
Calendar title contains information on holidays and replenishment shifts
The calendar title contains keywords such as holidays and make-up shifts, which is convenient for script development. For example, using iPhone
's快捷指令
app to write a working day alarm clock
Each re-time schedule automatically sets work reminders, the default time is 09:00~18:00
, one hour in advance
Support personalized customization of the start, end time and reminder time of the make-up schedule (such as reminder one day in advance)
No ads! ! !
schedule | Details |
---|---|
![]() | ![]() |
schedule | Details |
---|---|
![]() | ![]() |
Supports the start, end time and reminder time of the re-work schedule, the format is:订阅地址
?token= API密钥
&compStart=上班时分秒
&compEnd=下班时分秒
&compAlarm=在开始时间点提前多少分钟提醒
For example, the make-up time is from 8.30 am to 8.30 pm, and the reminder is 15 minutes in advance, and the subscription address is https://www.shuyz.com/githubfiles/china-holiday-calender/master/holidayCal.ics?token=cb429c2a-81a6-4c26-8f35-4f4bf0c84b2c&compStart=083000&compEnd=203000&compAlarm=15
Notice:
The time format is a 6-digit number in the 24-hour system, and the single digits are supplemented with 0, for example, 8点零5分
is expressed as 080500
You can remind you at most 9999 minutes in advance, so it is also possible to get a few days in advance. For example, if compStart
is 0800
, set the reminder at 8 o'clock the day before, then compAlarm
is提前24小时x60=1440
; if the reminder at 8 o'clock the day before, then compAlarm
is提前12小时x60=720
The schedule for replenishment can be set as a full-day event, specify compStart=*
and compEnd=*
Since the subscription function requires server resources to be used for calculation, if it affects the normal use of the server, the customization function may be cancelled at any time.
Customized schedule for re-study | Details |
---|---|
![]() | ![]() |
Holiday Inquiry | Holiday alarm clock |
---|---|
![]() | ![]() |
https://www.shuyz.com/shortcuts/holiday-query | https://www.shuyz.com/shortcuts/holiday-alarm |
Holiday objects:
Field name | type | describe |
---|---|---|
Name | String | The name of the holiday. |
StartDate | String | The start date of the holiday, in the format "YYYY-MM-DD". |
EndDate | String | The end date of the holiday is in the format "YYYY-MM-DD". |
Duration | Integer | The number of days on holidays. |
CompDays | String array | Array of make-up dates, formatted as "YYYY-MM-DD". |
URL | String | URL link for holiday notifications. |
Memo | String | Holiday notice. |