Skip to content

Commit

Permalink
Merge pull request #436 from gborus/2023-Hungarian-holiday-update
Browse files Browse the repository at this point in the history
Adding school holidays till the end of Jan 2024
  • Loading branch information
commenthol authored Nov 4, 2023
2 parents cd47dc7 + 27b2071 commit 877abe1
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 1 deletion.
50 changes: 50 additions & 0 deletions data/countries/HU.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,53 @@ holidays:
12-31:
_name: 12-31
type: observance
'2023-10-30':
name:
hu: Őszi szünet
en: Autumn school holiday
type: school
'2023-10-31':
name:
hu: Őszi szünet
en: Autumn school holiday
type: school
'2023-11-02':
name:
hu: Őszi szünet
en: Autumn school holiday
type: school
'2023-11-03':
name:
hu: Őszi szünet
en: Autumn school holiday
type: school
'2023-12-22':
name:
hu: Téli szünet
en: Winter school holiday
type: school
'2023-12-27':
name:
hu: Téli szünet
en: Winter school holiday
type: school
'2024-01-02':
name:
hu: Téli szünet
en: Winter school holiday
type: school
'2024-01-03':
name:
hu: Téli szünet
en: Winter school holiday
type: school
'2024-01-04':
name:
hu: Téli szünet
en: Winter school holiday
type: school
'2024-01-05':
name:
hu: Téli szünet
en: Winter school holiday
type: school
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
"@commitlint/config-conventional": "^17.8.0",
"@mocha/contributors": "git+https://github.com/commenthol/contributors.git#semver:1.1.0-0",
"babel-loader": "^9.1.3",
"dtslint": "^4.2.1",
"dtslint": "^3.6.4",
"eslint": "^8.51.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
Expand Down
54 changes: 54 additions & 0 deletions test/fixtures/HU-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,24 @@
"rule": "10-23",
"_weekday": "Mon"
},
{
"date": "2023-10-30 00:00:00",
"start": "2023-10-29T23:00:00.000Z",
"end": "2023-10-30T23:00:00.000Z",
"name": "Őszi szünet",
"type": "school",
"rule": "2023-10-30",
"_weekday": "Mon"
},
{
"date": "2023-10-31 00:00:00",
"start": "2023-10-30T23:00:00.000Z",
"end": "2023-10-31T23:00:00.000Z",
"name": "Őszi szünet",
"type": "school",
"rule": "2023-10-31",
"_weekday": "Tue"
},
{
"date": "2023-11-01 00:00:00",
"start": "2023-10-31T23:00:00.000Z",
Expand All @@ -170,6 +188,24 @@
"rule": "11-01",
"_weekday": "Wed"
},
{
"date": "2023-11-02 00:00:00",
"start": "2023-11-01T23:00:00.000Z",
"end": "2023-11-02T23:00:00.000Z",
"name": "Őszi szünet",
"type": "school",
"rule": "2023-11-02",
"_weekday": "Thu"
},
{
"date": "2023-11-03 00:00:00",
"start": "2023-11-02T23:00:00.000Z",
"end": "2023-11-03T23:00:00.000Z",
"name": "Őszi szünet",
"type": "school",
"rule": "2023-11-03",
"_weekday": "Fri"
},
{
"date": "2023-12-06 00:00:00",
"start": "2023-12-05T23:00:00.000Z",
Expand All @@ -179,6 +215,15 @@
"rule": "12-06",
"_weekday": "Wed"
},
{
"date": "2023-12-22 00:00:00",
"start": "2023-12-21T23:00:00.000Z",
"end": "2023-12-22T23:00:00.000Z",
"name": "Téli szünet",
"type": "school",
"rule": "2023-12-22",
"_weekday": "Fri"
},
{
"date": "2023-12-24 00:00:00",
"start": "2023-12-23T23:00:00.000Z",
Expand Down Expand Up @@ -206,6 +251,15 @@
"rule": "12-26",
"_weekday": "Tue"
},
{
"date": "2023-12-27 00:00:00",
"start": "2023-12-26T23:00:00.000Z",
"end": "2023-12-27T23:00:00.000Z",
"name": "Téli szünet",
"type": "school",
"rule": "2023-12-27",
"_weekday": "Wed"
},
{
"date": "2023-12-31 00:00:00",
"start": "2023-12-30T23:00:00.000Z",
Expand Down
36 changes: 36 additions & 0 deletions test/fixtures/HU-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,42 @@
"rule": "01-01",
"_weekday": "Mon"
},
{
"date": "2024-01-02 00:00:00",
"start": "2024-01-01T23:00:00.000Z",
"end": "2024-01-02T23:00:00.000Z",
"name": "Téli szünet",
"type": "school",
"rule": "2024-01-02",
"_weekday": "Tue"
},
{
"date": "2024-01-03 00:00:00",
"start": "2024-01-02T23:00:00.000Z",
"end": "2024-01-03T23:00:00.000Z",
"name": "Téli szünet",
"type": "school",
"rule": "2024-01-03",
"_weekday": "Wed"
},
{
"date": "2024-01-04 00:00:00",
"start": "2024-01-03T23:00:00.000Z",
"end": "2024-01-04T23:00:00.000Z",
"name": "Téli szünet",
"type": "school",
"rule": "2024-01-04",
"_weekday": "Thu"
},
{
"date": "2024-01-05 00:00:00",
"start": "2024-01-04T23:00:00.000Z",
"end": "2024-01-05T23:00:00.000Z",
"name": "Téli szünet",
"type": "school",
"rule": "2024-01-05",
"_weekday": "Fri"
},
{
"date": "2024-02-01 00:00:00",
"start": "2024-01-31T23:00:00.000Z",
Expand Down

0 comments on commit 877abe1

Please sign in to comment.