Skip to content

Commit

Permalink
fix: add some Canadian observance type holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonbay committed Sep 17, 2020
1 parent 7683403 commit 1d3b4eb
Show file tree
Hide file tree
Showing 154 changed files with 5,445 additions and 0 deletions.
36 changes: 36 additions & 0 deletions test/fixtures/CA-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"rule": "01-01",
"_weekday": "Thu"
},
{
"date": "2015-02-02 00:00:00",
"start": "2015-02-02T05:00:00.000Z",
"end": "2015-02-03T05:00:00.000Z",
"name": "Groundhog Day",
"type": "observance",
"rule": "02-02",
"_weekday": "Mon"
},
{
"date": "2015-02-14 00:00:00",
"start": "2015-02-14T05:00:00.000Z",
"end": "2015-02-15T05:00:00.000Z",
"name": "Valentine's Day",
"type": "observance",
"rule": "02-14",
"_weekday": "Sat"
},
{
"date": "2015-03-17 00:00:00",
"start": "2015-03-17T04:00:00.000Z",
"end": "2015-03-18T04:00:00.000Z",
"name": "St. Patrick’s Day",
"type": "observance",
"rule": "03-17",
"_weekday": "Tue"
},
{
"date": "2015-04-03 00:00:00",
"start": "2015-04-03T04:00:00.000Z",
Expand Down Expand Up @@ -89,6 +116,15 @@
"rule": "2nd monday after 10-01",
"_weekday": "Mon"
},
{
"date": "2015-10-31 18:00:00",
"start": "2015-10-31T22:00:00.000Z",
"end": "2015-11-01T04:00:00.000Z",
"name": "Halloween",
"type": "observance",
"rule": "10-31 18:00",
"_weekday": "Sat"
},
{
"date": "2015-11-11 00:00:00",
"start": "2015-11-11T05:00:00.000Z",
Expand Down
36 changes: 36 additions & 0 deletions test/fixtures/CA-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"rule": "01-01",
"_weekday": "Fri"
},
{
"date": "2016-02-02 00:00:00",
"start": "2016-02-02T05:00:00.000Z",
"end": "2016-02-03T05:00:00.000Z",
"name": "Groundhog Day",
"type": "observance",
"rule": "02-02",
"_weekday": "Tue"
},
{
"date": "2016-02-14 00:00:00",
"start": "2016-02-14T05:00:00.000Z",
"end": "2016-02-15T05:00:00.000Z",
"name": "Valentine's Day",
"type": "observance",
"rule": "02-14",
"_weekday": "Sun"
},
{
"date": "2016-03-17 00:00:00",
"start": "2016-03-17T04:00:00.000Z",
"end": "2016-03-18T04:00:00.000Z",
"name": "St. Patrick’s Day",
"type": "observance",
"rule": "03-17",
"_weekday": "Thu"
},
{
"date": "2016-03-25 00:00:00",
"start": "2016-03-25T04:00:00.000Z",
Expand Down Expand Up @@ -89,6 +116,15 @@
"rule": "2nd monday after 10-01",
"_weekday": "Mon"
},
{
"date": "2016-10-31 18:00:00",
"start": "2016-10-31T22:00:00.000Z",
"end": "2016-11-01T04:00:00.000Z",
"name": "Halloween",
"type": "observance",
"rule": "10-31 18:00",
"_weekday": "Mon"
},
{
"date": "2016-11-11 00:00:00",
"start": "2016-11-11T05:00:00.000Z",
Expand Down
36 changes: 36 additions & 0 deletions test/fixtures/CA-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"rule": "01-01",
"_weekday": "Sun"
},
{
"date": "2017-02-02 00:00:00",
"start": "2017-02-02T05:00:00.000Z",
"end": "2017-02-03T05:00:00.000Z",
"name": "Groundhog Day",
"type": "observance",
"rule": "02-02",
"_weekday": "Thu"
},
{
"date": "2017-02-14 00:00:00",
"start": "2017-02-14T05:00:00.000Z",
"end": "2017-02-15T05:00:00.000Z",
"name": "Valentine's Day",
"type": "observance",
"rule": "02-14",
"_weekday": "Tue"
},
{
"date": "2017-03-17 00:00:00",
"start": "2017-03-17T04:00:00.000Z",
"end": "2017-03-18T04:00:00.000Z",
"name": "St. Patrick’s Day",
"type": "observance",
"rule": "03-17",
"_weekday": "Fri"
},
{
"date": "2017-04-14 00:00:00",
"start": "2017-04-14T04:00:00.000Z",
Expand Down Expand Up @@ -89,6 +116,15 @@
"rule": "2nd monday after 10-01",
"_weekday": "Mon"
},
{
"date": "2017-10-31 18:00:00",
"start": "2017-10-31T22:00:00.000Z",
"end": "2017-11-01T04:00:00.000Z",
"name": "Halloween",
"type": "observance",
"rule": "10-31 18:00",
"_weekday": "Tue"
},
{
"date": "2017-11-11 00:00:00",
"start": "2017-11-11T05:00:00.000Z",
Expand Down
36 changes: 36 additions & 0 deletions test/fixtures/CA-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"rule": "01-01",
"_weekday": "Mon"
},
{
"date": "2018-02-02 00:00:00",
"start": "2018-02-02T05:00:00.000Z",
"end": "2018-02-03T05:00:00.000Z",
"name": "Groundhog Day",
"type": "observance",
"rule": "02-02",
"_weekday": "Fri"
},
{
"date": "2018-02-14 00:00:00",
"start": "2018-02-14T05:00:00.000Z",
"end": "2018-02-15T05:00:00.000Z",
"name": "Valentine's Day",
"type": "observance",
"rule": "02-14",
"_weekday": "Wed"
},
{
"date": "2018-03-17 00:00:00",
"start": "2018-03-17T04:00:00.000Z",
"end": "2018-03-18T04:00:00.000Z",
"name": "St. Patrick’s Day",
"type": "observance",
"rule": "03-17",
"_weekday": "Sat"
},
{
"date": "2018-03-30 00:00:00",
"start": "2018-03-30T04:00:00.000Z",
Expand Down Expand Up @@ -89,6 +116,15 @@
"rule": "2nd monday after 10-01",
"_weekday": "Mon"
},
{
"date": "2018-10-31 18:00:00",
"start": "2018-10-31T22:00:00.000Z",
"end": "2018-11-01T04:00:00.000Z",
"name": "Halloween",
"type": "observance",
"rule": "10-31 18:00",
"_weekday": "Wed"
},
{
"date": "2018-11-11 00:00:00",
"start": "2018-11-11T05:00:00.000Z",
Expand Down
36 changes: 36 additions & 0 deletions test/fixtures/CA-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"rule": "01-01",
"_weekday": "Tue"
},
{
"date": "2019-02-02 00:00:00",
"start": "2019-02-02T05:00:00.000Z",
"end": "2019-02-03T05:00:00.000Z",
"name": "Groundhog Day",
"type": "observance",
"rule": "02-02",
"_weekday": "Sat"
},
{
"date": "2019-02-14 00:00:00",
"start": "2019-02-14T05:00:00.000Z",
"end": "2019-02-15T05:00:00.000Z",
"name": "Valentine's Day",
"type": "observance",
"rule": "02-14",
"_weekday": "Thu"
},
{
"date": "2019-03-17 00:00:00",
"start": "2019-03-17T04:00:00.000Z",
"end": "2019-03-18T04:00:00.000Z",
"name": "St. Patrick’s Day",
"type": "observance",
"rule": "03-17",
"_weekday": "Sun"
},
{
"date": "2019-04-19 00:00:00",
"start": "2019-04-19T04:00:00.000Z",
Expand Down Expand Up @@ -89,6 +116,15 @@
"rule": "2nd monday after 10-01",
"_weekday": "Mon"
},
{
"date": "2019-10-31 18:00:00",
"start": "2019-10-31T22:00:00.000Z",
"end": "2019-11-01T04:00:00.000Z",
"name": "Halloween",
"type": "observance",
"rule": "10-31 18:00",
"_weekday": "Thu"
},
{
"date": "2019-11-11 00:00:00",
"start": "2019-11-11T05:00:00.000Z",
Expand Down
36 changes: 36 additions & 0 deletions test/fixtures/CA-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"rule": "01-01",
"_weekday": "Wed"
},
{
"date": "2020-02-02 00:00:00",
"start": "2020-02-02T05:00:00.000Z",
"end": "2020-02-03T05:00:00.000Z",
"name": "Groundhog Day",
"type": "observance",
"rule": "02-02",
"_weekday": "Sun"
},
{
"date": "2020-02-14 00:00:00",
"start": "2020-02-14T05:00:00.000Z",
"end": "2020-02-15T05:00:00.000Z",
"name": "Valentine's Day",
"type": "observance",
"rule": "02-14",
"_weekday": "Fri"
},
{
"date": "2020-03-17 00:00:00",
"start": "2020-03-17T04:00:00.000Z",
"end": "2020-03-18T04:00:00.000Z",
"name": "St. Patrick’s Day",
"type": "observance",
"rule": "03-17",
"_weekday": "Tue"
},
{
"date": "2020-04-10 00:00:00",
"start": "2020-04-10T04:00:00.000Z",
Expand Down Expand Up @@ -89,6 +116,15 @@
"rule": "2nd monday after 10-01",
"_weekday": "Mon"
},
{
"date": "2020-10-31 18:00:00",
"start": "2020-10-31T22:00:00.000Z",
"end": "2020-11-01T04:00:00.000Z",
"name": "Halloween",
"type": "observance",
"rule": "10-31 18:00",
"_weekday": "Sat"
},
{
"date": "2020-11-11 00:00:00",
"start": "2020-11-11T05:00:00.000Z",
Expand Down
36 changes: 36 additions & 0 deletions test/fixtures/CA-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"rule": "01-01",
"_weekday": "Fri"
},
{
"date": "2021-02-02 00:00:00",
"start": "2021-02-02T05:00:00.000Z",
"end": "2021-02-03T05:00:00.000Z",
"name": "Groundhog Day",
"type": "observance",
"rule": "02-02",
"_weekday": "Tue"
},
{
"date": "2021-02-14 00:00:00",
"start": "2021-02-14T05:00:00.000Z",
"end": "2021-02-15T05:00:00.000Z",
"name": "Valentine's Day",
"type": "observance",
"rule": "02-14",
"_weekday": "Sun"
},
{
"date": "2021-03-17 00:00:00",
"start": "2021-03-17T04:00:00.000Z",
"end": "2021-03-18T04:00:00.000Z",
"name": "St. Patrick’s Day",
"type": "observance",
"rule": "03-17",
"_weekday": "Wed"
},
{
"date": "2021-04-02 00:00:00",
"start": "2021-04-02T04:00:00.000Z",
Expand Down Expand Up @@ -89,6 +116,15 @@
"rule": "2nd monday after 10-01",
"_weekday": "Mon"
},
{
"date": "2021-10-31 18:00:00",
"start": "2021-10-31T22:00:00.000Z",
"end": "2021-11-01T04:00:00.000Z",
"name": "Halloween",
"type": "observance",
"rule": "10-31 18:00",
"_weekday": "Sun"
},
{
"date": "2021-11-11 00:00:00",
"start": "2021-11-11T05:00:00.000Z",
Expand Down
36 changes: 36 additions & 0 deletions test/fixtures/CA-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,33 @@
"rule": "01-01",
"_weekday": "Sat"
},
{
"date": "2022-02-02 00:00:00",
"start": "2022-02-02T05:00:00.000Z",
"end": "2022-02-03T05:00:00.000Z",
"name": "Groundhog Day",
"type": "observance",
"rule": "02-02",
"_weekday": "Wed"
},
{
"date": "2022-02-14 00:00:00",
"start": "2022-02-14T05:00:00.000Z",
"end": "2022-02-15T05:00:00.000Z",
"name": "Valentine's Day",
"type": "observance",
"rule": "02-14",
"_weekday": "Mon"
},
{
"date": "2022-03-17 00:00:00",
"start": "2022-03-17T04:00:00.000Z",
"end": "2022-03-18T04:00:00.000Z",
"name": "St. Patrick’s Day",
"type": "observance",
"rule": "03-17",
"_weekday": "Thu"
},
{
"date": "2022-04-15 00:00:00",
"start": "2022-04-15T04:00:00.000Z",
Expand Down Expand Up @@ -89,6 +116,15 @@
"rule": "2nd monday after 10-01",
"_weekday": "Mon"
},
{
"date": "2022-10-31 18:00:00",
"start": "2022-10-31T22:00:00.000Z",
"end": "2022-11-01T04:00:00.000Z",
"name": "Halloween",
"type": "observance",
"rule": "10-31 18:00",
"_weekday": "Mon"
},
{
"date": "2022-11-11 00:00:00",
"start": "2022-11-11T05:00:00.000Z",
Expand Down
Loading

0 comments on commit 1d3b4eb

Please sign in to comment.