fix: missing holiday in 2011

close #145

Co-authored-by: CoderX <chinabluesky335@gmail.com>
This commit is contained in:
NateScarlet
2022-02-26 16:44:36 +08:00
parent 50174151fa
commit 853f1bcabc
4 changed files with 44 additions and 9 deletions

View File

@@ -356,6 +356,21 @@
{ "date": "2013-10-12", "isOffDay": false }
]
},
{
"year": 2011,
"description": "2月2日农历除夕至8日放假调休共7天。1月30日星期日、2月12日星期六上班。",
"expected": [
{ "date": "2011-02-02", "isOffDay": true },
{ "date": "2011-02-03", "isOffDay": true },
{ "date": "2011-02-04", "isOffDay": true },
{ "date": "2011-02-05", "isOffDay": true },
{ "date": "2011-02-06", "isOffDay": true },
{ "date": "2011-02-07", "isOffDay": true },
{ "date": "2011-02-08", "isOffDay": true },
{ "date": "2011-01-30", "isOffDay": false },
{ "date": "2011-02-12", "isOffDay": false }
]
},
{
"year": 2008,
"description": "2007年12月30日—2008年1月1日放假共3天。其中1月1日星期二为法定节假日12月30日星期日为公休日12月29日星期六公休日调至12月31日星期一12月29日星期六上班。",