From dbaab483e5bd2af8f0ab53e0faab8b6ce1955035 Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Sun, 10 Oct 2021 02:36:32 +0800 Subject: [PATCH] docs: add icalendar subscription --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 37bbd90..a7deb63 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,16 @@ interface Holidays { https://cdn.jsdelivr.net/gh/NateScarlet/holiday-cn@master/{年份}.json +## ICalendar 订阅 + +网址格式参见上一节 + +`{年份}.ics` 为对应年份的节假日 + +`holiday-cn.ics` 为 3 年前至次年的节假日 + +感谢 @retanoj 的 ics 格式转换实现 + ## 作为 git 子模块使用 参见 [Git 工具 - 子模块](https://git-scm.com/book/zh/v2/Git-%E5%B7%A5%E5%85%B7-%E5%AD%90%E6%A8%A1%E5%9D%97)