fix: handle 2020-02 patch rule

fix #50
This commit is contained in:
NateScarlet
2020-02-08 16:52:45 +08:00
parent 6613c1d25b
commit d84dabea44
2 changed files with 22 additions and 3 deletions

View File

@@ -1,4 +1,13 @@
[
{
"year": 2020,
"description": "延长2020年春节假期至2月2日农历正月初九星期日2月3日星期一起正常上班。",
"expected": [
{ "date": "2020-02-01", "isOffDay": true },
{ "date": "2020-02-02", "isOffDay": true },
{ "date": "2020-02-03", "isOffDay": false }
]
},
{
"year": 2019,
"description": "2018年12月30日至2019年1月1日放假调休共3天。2018年12月29日星期六上班。",