Skip to content

Commit

Permalink
fix: actually since 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
nanodino committed May 29, 2023
1 parent a70b081 commit 7da8dc0
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 38 deletions.
4 changes: 2 additions & 2 deletions data/countries/US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -891,10 +891,10 @@ holidays:
3rd monday in February:
name:
en: George Washington Day
friday before 3rd monday in January prior to 2023:
friday before 3rd monday in January prior to 2020:
name:
en: Lee–Jackson Day
tuesday after 1st monday in November in even years since 2023:
tuesday after 1st monday in November in even years since 2020:
name: Election Day
WA:
name: Washington
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-VA-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"end": "2015-01-17T05:00:00.000Z",
"name": "Lee–Jackson Day",
"type": "public",
"rule": "friday before 3rd monday in January prior to 2023",
"rule": "friday before 3rd monday in January prior to 2020",
"_weekday": "Fri"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-VA-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"end": "2016-01-16T05:00:00.000Z",
"name": "Lee–Jackson Day",
"type": "public",
"rule": "friday before 3rd monday in January prior to 2023",
"rule": "friday before 3rd monday in January prior to 2020",
"_weekday": "Fri"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-VA-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"end": "2017-01-14T05:00:00.000Z",
"name": "Lee–Jackson Day",
"type": "public",
"rule": "friday before 3rd monday in January prior to 2023",
"rule": "friday before 3rd monday in January prior to 2020",
"_weekday": "Fri"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-VA-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"end": "2018-01-13T05:00:00.000Z",
"name": "Lee–Jackson Day",
"type": "public",
"rule": "friday before 3rd monday in January prior to 2023",
"rule": "friday before 3rd monday in January prior to 2020",
"_weekday": "Fri"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-VA-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"end": "2019-01-19T05:00:00.000Z",
"name": "Lee–Jackson Day",
"type": "public",
"rule": "friday before 3rd monday in January prior to 2023",
"rule": "friday before 3rd monday in January prior to 2020",
"_weekday": "Fri"
},
{
Expand Down
13 changes: 2 additions & 11 deletions test/fixtures/US-VA-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@
"rule": "01-01 and if sunday then next monday if saturday then previous friday",
"_weekday": "Wed"
},
{
"date": "2020-01-17 00:00:00",
"start": "2020-01-17T05:00:00.000Z",
"end": "2020-01-18T05:00:00.000Z",
"name": "Lee–Jackson Day",
"type": "public",
"rule": "friday before 3rd monday in January prior to 2023",
"_weekday": "Fri"
},
{
"date": "2020-01-20 00:00:00",
"start": "2020-01-20T05:00:00.000Z",
Expand Down Expand Up @@ -158,8 +149,8 @@
"start": "2020-11-03T05:00:00.000Z",
"end": "2020-11-04T05:00:00.000Z",
"name": "Election Day",
"type": "observance",
"rule": "tuesday after 1st monday in November every 4 years since 1848",
"type": "public",
"rule": "tuesday after 1st monday in November in even years since 2020",
"_weekday": "Tue"
},
{
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/US-VA-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@
"rule": "01-01 and if sunday then next monday if saturday then previous friday",
"_weekday": "Fri"
},
{
"date": "2021-01-15 00:00:00",
"start": "2021-01-15T05:00:00.000Z",
"end": "2021-01-16T05:00:00.000Z",
"name": "Lee–Jackson Day",
"type": "public",
"rule": "friday before 3rd monday in January prior to 2023",
"_weekday": "Fri"
},
{
"date": "2021-01-18 00:00:00",
"start": "2021-01-18T05:00:00.000Z",
Expand Down
18 changes: 9 additions & 9 deletions test/fixtures/US-VA-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@
"rule": "01-01 and if sunday then next monday if saturday then previous friday",
"_weekday": "Sat"
},
{
"date": "2022-01-14 00:00:00",
"start": "2022-01-14T05:00:00.000Z",
"end": "2022-01-15T05:00:00.000Z",
"name": "Lee–Jackson Day",
"type": "public",
"rule": "friday before 3rd monday in January prior to 2023",
"_weekday": "Fri"
},
{
"date": "2022-01-17 00:00:00",
"start": "2022-01-17T05:00:00.000Z",
Expand Down Expand Up @@ -162,6 +153,15 @@
"rule": "10-31 18:00",
"_weekday": "Mon"
},
{
"date": "2022-11-08 00:00:00",
"start": "2022-11-08T05:00:00.000Z",
"end": "2022-11-09T05:00:00.000Z",
"name": "Election Day",
"type": "public",
"rule": "tuesday after 1st monday in November in even years since 2020",
"_weekday": "Tue"
},
{
"date": "2022-11-11 00:00:00",
"start": "2022-11-11T05:00:00.000Z",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-VA-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"end": "2024-11-06T05:00:00.000Z",
"name": "Election Day",
"type": "public",
"rule": "tuesday after 1st monday in November in even years since 2023",
"rule": "tuesday after 1st monday in November in even years since 2020",
"_weekday": "Tue"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-VA-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"end": "2026-11-04T05:00:00.000Z",
"name": "Election Day",
"type": "public",
"rule": "tuesday after 1st monday in November in even years since 2023",
"rule": "tuesday after 1st monday in November in even years since 2020",
"_weekday": "Tue"
},
{
Expand Down

0 comments on commit 7da8dc0

Please sign in to comment.