import{_ as a,c as s,a2 as t,o as n}from"./chunks/framework.Ct9Y1XYN.js";const u=JSON.parse('{"title":"中国节假日","description":"","frontmatter":{},"headers":[],"relativePath":"guide/what-is-chinese-days.md","filePath":"zh/guide/what-is-chinese-days.md"}'),o={name:"guide/what-is-chinese-days.md"};function i(r,e,d,c,l,h){return n(),s("div",null,e[0]||(e[0]=[t('
本项目提供了一系列用于查询中国节假日、调休日、工作日、24节气、以及农历阳历互转的函数,此外还支持 iCal
文件订阅节假日,可供 Google Calendar、Apple Calendar、Microsoft Outlook 等客户端订阅。
每日会定时执行 Github Action
自动抓取数据,节假日变化时发送邮件提醒,信息会跟随国务院发布进行更新。
项目主要针对 JS
或 TS
用户,使用方法可以看后续的文档。
JS
语言 如果你不使用 JS
或 TS
开发项目,本项目提供了中国节假日的 chinese-days.json 文件,可以通过下面的 CDN 链接进行使用。
https://cdn.jsdelivr.net/npm/chinese-days/dist/chinese-days.json
比如在 Java
中使用,可以参考 Warnier-zhang/java-chinese-days,仅用于查询中国节假日、调休日、工作日。
项目基于 MIT 许可发布。
',12)]))}const g=a(o,[["render",i]]);export{u as __pageData,g as default};