Skip to content

Commit

Permalink
fix(DE-HE,#361): easter and pentecost are public holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
commenthol committed Oct 22, 2022
1 parent 5adc4cf commit 93a6213
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 22 deletions.
4 changes: 4 additions & 0 deletions data/countries/DE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ holidays:
# @source https://www.rv.hessenrecht.hessen.de/cgi-bin/lexsoft/capi/hessen.cgi/export_pdf?docid=169523,1&hideVersionDate=1&shortTitleFileName=1&showVersionInfo=1&displayConfig=0&exportLawlist=1&customFooter=Hessische%20Gesetze%20und%20Verwaltungsvorschriften%20in%20Zusammenarbeit%20mit%20Wolters%20Kluwer%20Deutschland%20GmbH&at=1&pid=UAN_nv_3470
name: Hessen
days:
easter:
_name: easter
easter 49:
_name: easter 49
easter 60:
_name: easter 60
HH:
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2015-04-04T22:00:00.000Z",
"end": "2015-04-05T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2015-05-23T22:00:00.000Z",
"end": "2015-05-24T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2016-03-26T23:00:00.000Z",
"end": "2016-03-27T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2016-05-14T22:00:00.000Z",
"end": "2016-05-15T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2017-04-15T22:00:00.000Z",
"end": "2017-04-16T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2017-06-03T22:00:00.000Z",
"end": "2017-06-04T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2018-03-31T22:00:00.000Z",
"end": "2018-04-01T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2018-05-19T22:00:00.000Z",
"end": "2018-05-20T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2019-04-20T22:00:00.000Z",
"end": "2019-04-21T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2019-06-08T22:00:00.000Z",
"end": "2019-06-09T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2020-04-11T22:00:00.000Z",
"end": "2020-04-12T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2020-05-30T22:00:00.000Z",
"end": "2020-05-31T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2021-04-03T22:00:00.000Z",
"end": "2021-04-04T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2021-05-22T22:00:00.000Z",
"end": "2021-05-23T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2022-04-16T22:00:00.000Z",
"end": "2022-04-17T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2022-06-04T22:00:00.000Z",
"end": "2022-06-05T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2023-04-08T22:00:00.000Z",
"end": "2023-04-09T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2023-05-27T22:00:00.000Z",
"end": "2023-05-28T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2024-03-30T23:00:00.000Z",
"end": "2024-03-31T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2024-05-18T22:00:00.000Z",
"end": "2024-05-19T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/DE-HE-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"start": "2025-04-19T22:00:00.000Z",
"end": "2025-04-20T22:00:00.000Z",
"name": "Ostersonntag",
"type": "observance",
"type": "public",
"rule": "easter",
"_weekday": "Sun"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"start": "2025-06-07T22:00:00.000Z",
"end": "2025-06-08T22:00:00.000Z",
"name": "Pfingstsonntag",
"type": "observance",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
Expand Down

0 comments on commit 93a6213

Please sign in to comment.