1 Star 0 Fork 0

小龙王 / 中国节假日补班日历

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

中国节假日补班日历

订阅地址

2019~2022年中国放假、调休和补班日历 更新时间2022-01-28 08:45:00

特点

  1. 节假日信息来自http://www.gov.cn/,一手信息、权威准确
  2. 包含最近3年的节假日信息,机器人自动维护,更新及时
  3. 日历标题包含放假、补班的天数信息
  4. 日历标题包含放假、补班等关键字,方便脚本开发。例如使用iPhone快捷指令应用编写工作日闹钟
  5. 每个补班日程自动设置上班提醒,默认时间为09:00~18:00、提前一个小时提醒
  6. 支持个性化定制补班日程的开始、结束时间和提醒时间(例如提前一天提醒)

定制补班日程

支持指定补班日程的开始、结束时间和提醒时间,格式为:订阅地址?token=API密钥&compStart=上班时分秒&compEnd=下班时分秒&compAlarm=在开始时间点提前多少分钟提醒

例如补班时间为早上8.30到晚上8.30,提前15分钟提醒,则订阅地址为 https://haigle.gitee.io/china-holiday-calender/holidayCal.ics?token=cb429c2a-81a6-4c26-8f35-4f4bf0c84b2c&compStart=083000&compEnd=203000&compAlarm=15

注意:

  • 时间格式为24小时制的6位数字,个位补0,例如8点零5分表示为080500
  • 最大可提前9999分钟提醒,所以提前几天也是可以的。例如compStart0800,设定前一天早上8点提醒,则compAlarm为24x60=1440; 设定前一天晚上8点提醒,则compAlarm为12x60=720
  • 补班日程可设置为全天事件,指定compStart=*并且compEnd=*即可
  • 由于订阅功能需消耗服务器资源进行计算,如果影响到服务器的正常使用,则定制功能可能随时取消
定制补班日程表 详细信息
MIT License Copyright (c) 2022 小龙王 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description expand collapse
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/haigle/china-holiday-calender.git
git@gitee.com:haigle/china-holiday-calender.git
haigle
china-holiday-calender
中国节假日补班日历
master

Search

53164aa7 5694891 3bd8fe86 5694891