LKI / chinese-calendar

判断一天是不是法定节假日/法定工作日(查看节假日安排)
https://pypi.org/project/chinesecalendar/
MIT License
1.06k stars 185 forks source link

能否添加得到某个节假日之前几年的公历日期 #65

Open yujiachen-y opened 3 years ago

yujiachen-y commented 3 years ago

比如2021年的2月11日是除夕,能否提供一个函数接受 2021-02-11,返回 2020-01-24 (上一个除夕)呢?

LKI commented 3 years ago

好想法,relates to #63