diff --git a/data/countries/HU.yaml b/data/countries/HU.yaml index 7010479e2..bf0c745af 100644 --- a/data/countries/HU.yaml +++ b/data/countries/HU.yaml @@ -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 diff --git a/package.json b/package.json index 9ed03ac28..d6b6a60dd 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/fixtures/HU-2023.json b/test/fixtures/HU-2023.json index cc23e7dec..242886869 100644 --- a/test/fixtures/HU-2023.json +++ b/test/fixtures/HU-2023.json @@ -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", @@ -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", @@ -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", @@ -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", diff --git a/test/fixtures/HU-2024.json b/test/fixtures/HU-2024.json index 9b09d216f..a89bdb305 100644 --- a/test/fixtures/HU-2024.json +++ b/test/fixtures/HU-2024.json @@ -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",