date-holidays 3.14.2 → 3.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.14.5](https://github.com/commenthol/date-holidays/compare/3.14.4...3.14.5) (2022-04-09)
4
+
5
+ - fix(DE-HB,DE-HE,DE-TH,#321): Dec. 31 is not a public holiday [dd849428](https://github.com/commenthol/date-holidays/commit/dd849428249debf8472e8f65efc3b02ffb422452)
6
+
7
+ ## [3.14.4](https://github.com/commenthol/date-holidays/compare/3.14.3...3.14.4) (2022-03-20)
8
+
9
+ - test(BE): fix tests [41b28b6c](https://github.com/commenthol/date-holidays/commit/41b28b6c93a1c9bed0a3faedfeacf1f8de3e950e)
10
+ - fix(BE): Easter isn't a paid holiday in belgium [255bf516](https://github.com/commenthol/date-holidays/commit/255bf516137307fbf1cbb322716553080679e902)
11
+
12
+ ## [3.14.3](https://github.com/commenthol/date-holidays/compare/3.14.2...3.14.3) (2022-02-25)
13
+
14
+ - docs(CA): add reference for National Day for Truth and Reconciliation [ffb6c908](https://github.com/commenthol/date-holidays/commit/ffb6c9080a71966bcf3bf7231bcf407801515304)
15
+ - Update CA.yaml [33322664](https://github.com/commenthol/date-holidays/commit/3332266472bb4f85b955081e3d8f48bff3b76360)
16
+ - docs: update spec [32e05c32](https://github.com/commenthol/date-holidays/commit/32e05c326ada41f81f1d163e862824bdec0311c0)
17
+ - fix(HK): Use new if is holiday rule for day after mid-autumn festival [653bc7a9](https://github.com/commenthol/date-holidays/commit/653bc7a9b7af388833e16ec81d907b7448d8c00e)
18
+ - fix(NZ-OTA): Move Provincial anniversary day if on Easter Monday [95cbb0ff](https://github.com/commenthol/date-holidays/commit/95cbb0ff8fc02e7404750c858b6309f810916c1f)
19
+ - fix(CH-GL): Move Näfelser Fahrt if on Maundy Thursday [aaa171e4](https://github.com/commenthol/date-holidays/commit/aaa171e46e53e9de5db6e328ee343f44990661f0)
20
+ - fix(CH): Add Maundy Thursday as observance [a0e69bab](https://github.com/commenthol/date-holidays/commit/a0e69bab7a78f8bda036f13717b2c25a9aaa79f0)
21
+
3
22
  ## [3.14.2](https://github.com/commenthol/date-holidays/compare/3.14.1...3.14.2) (2022-01-12)
4
23
 
5
24
  - fix(IL): join Mimouna with 7th day of Pesach [e85534c9](https://github.com/commenthol/date-holidays/commit/e85534c9d32182b05aa75af46b85870862d49fce)
@@ -27,6 +27,7 @@ holidays:
27
27
  type: observance
28
28
  easter:
29
29
  _name: easter
30
+ type: observance
30
31
  easter 1:
31
32
  _name: easter 1
32
33
  05-01:
@@ -79,6 +79,11 @@ holidays:
79
79
  fr: Premier lundi d’août
80
80
  1st monday in September:
81
81
  _name: 05-01
82
+ # https://www.canada.ca/en/canadian-heritage/campaigns/national-day-truth-reconciliation.html
83
+ 09-30 since 2021:
84
+ name:
85
+ en: National Day for Truth and Reconciliation
86
+ fr: Journée nationale de la vérité et de la réconciliation
82
87
  2nd monday after 10-01:
83
88
  name:
84
89
  en: Thanksgiving
@@ -22,6 +22,9 @@ holidays:
22
22
  days:
23
23
  01-01:
24
24
  _name: 01-01
25
+ easter -3:
26
+ _name: easter -3
27
+ type: observance
25
28
  easter -2:
26
29
  _name: easter -2
27
30
  easter:
@@ -247,15 +250,11 @@ holidays:
247
250
  de: Berchtoldstag
248
251
  fr: Saint-Berthold
249
252
  type: optional
250
- # TODO: needs new rule: "Thursday after 04-02 if easter -3 then next Thursday"
251
- thursday after 04-02:
253
+ # if falls on easter -3 (Maundy Thursday) then move to next Thursday
254
+ Thursday after 04-02 if is observance holiday then next Thursday:
252
255
  name:
253
256
  de: Näfelser Fahrt
254
257
  fr: Bataille de Näfels
255
- disable:
256
- - "2023-04-06"
257
- enable:
258
- - "2023-04-13"
259
258
  3rd sunday after 09-01: false
260
259
  11-01:
261
260
  _name: 11-01
@@ -189,9 +189,6 @@ holidays:
189
189
  HB:
190
190
  name: Hansestadt Bremen
191
191
  days:
192
- "12-31 14:00 if sunday then 00:00":
193
- _name: 12-31
194
- type: public
195
192
  10-31:
196
193
  _name: Reformation Day
197
194
  active:
@@ -202,8 +199,6 @@ holidays:
202
199
  days:
203
200
  easter 60:
204
201
  _name: easter 60
205
- "12-31 14:00 if sunday then 00:00":
206
- _name: 12-31
207
202
  HH:
208
203
  name: Hansestadt Hamburg
209
204
  days:
@@ -293,8 +288,6 @@ holidays:
293
288
  - from: 2019
294
289
  10-31:
295
290
  _name: Reformation Day
296
- "12-31 14:00 if sunday then 00:00":
297
- _name: 12-31
298
291
  regions:
299
292
  EIC:
300
293
  name: Landkreis Eichfeld
@@ -67,16 +67,11 @@ holidays:
67
67
  name:
68
68
  en: Hong Kong Special Administrative Region Establishment Day
69
69
  zh: 香港特別行政區成立紀念日
70
- # TODO: add rule: "chinese 08-0-15 if 07-01 then next weekday"
71
- chinese 08-0-16 and if Sunday then next Monday:
70
+ chinese 08-0-16 and if Sunday then next Monday if is public holiday then next day omit Saturday, Sunday:
72
71
  substitute: true
73
72
  name:
74
73
  en: The day following the Chinese Mid-Autumn Festival
75
74
  zh: 中秋節翌日
76
- disable:
77
- - "2020-10-01"
78
- enable:
79
- - "2020-10-02"
80
75
  10-01 and if Sunday then next Monday:
81
76
  substitute: true
82
77
  name:
@@ -238,11 +238,10 @@ holidays:
238
238
  en: Otago Province
239
239
  mi: Ōtākou
240
240
  days:
241
- # TODO: needs new rule "03-23 if ... then next monday if easter 1 then next Monday"
242
- 03-23 if tuesday,wednesday,thursday then previous monday if friday,saturday,sunday then next monday:
241
+ # 03-23 if ... then next monday if easter 1 then next Monday"; This will happen in 2285 the next time ;)
242
+ 03-23 if Tuesday,Wednesday,Thursday then previous Monday if Friday,Saturday,Sunday then next Monday if is public holiday then next Monday:
243
243
  name:
244
244
  en: Provincial anniversary day
245
- note: varies if coincides with easter monday
246
245
  STL:
247
246
  names:
248
247
  en: Southland
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2022-01-12",
2
+ "version": "2022-04-09",
3
3
  "license": "CC-BY-SA-3",
4
4
  "holidays": {
5
5
  "AD": {
@@ -2096,7 +2096,8 @@
2096
2096
  "type": "observance"
2097
2097
  },
2098
2098
  "easter": {
2099
- "_name": "easter"
2099
+ "_name": "easter",
2100
+ "type": "observance"
2100
2101
  },
2101
2102
  "easter 1": {
2102
2103
  "_name": "easter 1"
@@ -4205,6 +4206,12 @@
4205
4206
  "1st monday in September": {
4206
4207
  "_name": "05-01"
4207
4208
  },
4209
+ "09-30 since 2021": {
4210
+ "name": {
4211
+ "en": "National Day for Truth and Reconciliation",
4212
+ "fr": "Journée nationale de la vérité et de la réconciliation"
4213
+ }
4214
+ },
4208
4215
  "2nd monday after 10-01": {
4209
4216
  "name": {
4210
4217
  "en": "Thanksgiving",
@@ -4831,6 +4838,10 @@
4831
4838
  "01-01": {
4832
4839
  "_name": "01-01"
4833
4840
  },
4841
+ "easter -3": {
4842
+ "_name": "easter -3",
4843
+ "type": "observance"
4844
+ },
4834
4845
  "easter -2": {
4835
4846
  "_name": "easter -2"
4836
4847
  },
@@ -5154,17 +5165,11 @@
5154
5165
  },
5155
5166
  "type": "optional"
5156
5167
  },
5157
- "thursday after 04-02": {
5168
+ "Thursday after 04-02 if is observance holiday then next Thursday": {
5158
5169
  "name": {
5159
5170
  "de": "Näfelser Fahrt",
5160
5171
  "fr": "Bataille de Näfels"
5161
- },
5162
- "disable": [
5163
- "2023-04-06"
5164
- ],
5165
- "enable": [
5166
- "2023-04-13"
5167
- ]
5172
+ }
5168
5173
  },
5169
5174
  "3rd sunday after 09-01": false,
5170
5175
  "11-01": {
@@ -7352,10 +7357,6 @@
7352
7357
  "HB": {
7353
7358
  "name": "Hansestadt Bremen",
7354
7359
  "days": {
7355
- "12-31 14:00 if sunday then 00:00": {
7356
- "_name": "12-31",
7357
- "type": "public"
7358
- },
7359
7360
  "10-31": {
7360
7361
  "_name": "Reformation Day",
7361
7362
  "active": [
@@ -7371,9 +7372,6 @@
7371
7372
  "days": {
7372
7373
  "easter 60": {
7373
7374
  "_name": "easter 60"
7374
- },
7375
- "12-31 14:00 if sunday then 00:00": {
7376
- "_name": "12-31"
7377
7375
  }
7378
7376
  }
7379
7377
  },
@@ -7518,9 +7516,6 @@
7518
7516
  },
7519
7517
  "10-31": {
7520
7518
  "_name": "Reformation Day"
7521
- },
7522
- "12-31 14:00 if sunday then 00:00": {
7523
- "_name": "12-31"
7524
7519
  }
7525
7520
  },
7526
7521
  "regions": {
@@ -10586,18 +10581,12 @@
10586
10581
  "zh": "香港特別行政區成立紀念日"
10587
10582
  }
10588
10583
  },
10589
- "chinese 08-0-16 and if Sunday then next Monday": {
10584
+ "chinese 08-0-16 and if Sunday then next Monday if is public holiday then next day omit Saturday, Sunday": {
10590
10585
  "substitute": true,
10591
10586
  "name": {
10592
10587
  "en": "The day following the Chinese Mid-Autumn Festival",
10593
10588
  "zh": "中秋節翌日"
10594
- },
10595
- "disable": [
10596
- "2020-10-01"
10597
- ],
10598
- "enable": [
10599
- "2020-10-02"
10600
- ]
10589
+ }
10601
10590
  },
10602
10591
  "10-01 and if Sunday then next Monday": {
10603
10592
  "substitute": true,
@@ -16618,11 +16607,10 @@
16618
16607
  "mi": "Ōtākou"
16619
16608
  },
16620
16609
  "days": {
16621
- "03-23 if tuesday,wednesday,thursday then previous monday if friday,saturday,sunday then next monday": {
16610
+ "03-23 if Tuesday,Wednesday,Thursday then previous Monday if Friday,Saturday,Sunday then next Monday if is public holiday then next Monday": {
16622
16611
  "name": {
16623
16612
  "en": "Provincial anniversary day"
16624
- },
16625
- "note": "varies if coincides with easter monday"
16613
+ }
16626
16614
  }
16627
16615
  }
16628
16616
  },