date-holidays 3.14.2 → 3.14.3
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 +10 -0
- package/data/countries/CA.yaml +5 -0
- package/data/countries/CH.yaml +5 -6
- package/data/countries/HK.yaml +1 -6
- package/data/countries/NZ.yaml +2 -3
- package/data/holidays.json +17 -20
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/umd.min.js +1 -1
- package/dist/umd.min.js.map +1 -1
- package/lib/data.cjs +17 -20
- package/package.json +13 -10
- package/src/data.js +17 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.14.3](https://github.com/commenthol/date-holidays/compare/3.14.2...3.14.3) (2022-02-25)
|
|
4
|
+
|
|
5
|
+
- docs(CA): add reference for National Day for Truth and Reconciliation [ffb6c908](https://github.com/commenthol/date-holidays/commit/ffb6c9080a71966bcf3bf7231bcf407801515304)
|
|
6
|
+
- Update CA.yaml [33322664](https://github.com/commenthol/date-holidays/commit/3332266472bb4f85b955081e3d8f48bff3b76360)
|
|
7
|
+
- docs: update spec [32e05c32](https://github.com/commenthol/date-holidays/commit/32e05c326ada41f81f1d163e862824bdec0311c0)
|
|
8
|
+
- fix(HK): Use new if is holiday rule for day after mid-autumn festival [653bc7a9](https://github.com/commenthol/date-holidays/commit/653bc7a9b7af388833e16ec81d907b7448d8c00e)
|
|
9
|
+
- fix(NZ-OTA): Move Provincial anniversary day if on Easter Monday [95cbb0ff](https://github.com/commenthol/date-holidays/commit/95cbb0ff8fc02e7404750c858b6309f810916c1f)
|
|
10
|
+
- fix(CH-GL): Move Näfelser Fahrt if on Maundy Thursday [aaa171e4](https://github.com/commenthol/date-holidays/commit/aaa171e46e53e9de5db6e328ee343f44990661f0)
|
|
11
|
+
- fix(CH): Add Maundy Thursday as observance [a0e69bab](https://github.com/commenthol/date-holidays/commit/a0e69bab7a78f8bda036f13717b2c25a9aaa79f0)
|
|
12
|
+
|
|
3
13
|
## [3.14.2](https://github.com/commenthol/date-holidays/compare/3.14.1...3.14.2) (2022-01-12)
|
|
4
14
|
|
|
5
15
|
- fix(IL): join Mimouna with 7th day of Pesach [e85534c9](https://github.com/commenthol/date-holidays/commit/e85534c9d32182b05aa75af46b85870862d49fce)
|
package/data/countries/CA.yaml
CHANGED
|
@@ -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
|
package/data/countries/CH.yaml
CHANGED
|
@@ -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
|
-
#
|
|
251
|
-
|
|
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
|
package/data/countries/HK.yaml
CHANGED
|
@@ -67,16 +67,11 @@ holidays:
|
|
|
67
67
|
name:
|
|
68
68
|
en: Hong Kong Special Administrative Region Establishment Day
|
|
69
69
|
zh: 香港特別行政區成立紀念日
|
|
70
|
-
|
|
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:
|
package/data/countries/NZ.yaml
CHANGED
|
@@ -238,11 +238,10 @@ holidays:
|
|
|
238
238
|
en: Otago Province
|
|
239
239
|
mi: Ōtākou
|
|
240
240
|
days:
|
|
241
|
-
#
|
|
242
|
-
03-23 if
|
|
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
|
package/data/holidays.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2022-
|
|
2
|
+
"version": "2022-02-25",
|
|
3
3
|
"license": "CC-BY-SA-3",
|
|
4
4
|
"holidays": {
|
|
5
5
|
"AD": {
|
|
@@ -4205,6 +4205,12 @@
|
|
|
4205
4205
|
"1st monday in September": {
|
|
4206
4206
|
"_name": "05-01"
|
|
4207
4207
|
},
|
|
4208
|
+
"09-30 since 2021": {
|
|
4209
|
+
"name": {
|
|
4210
|
+
"en": "National Day for Truth and Reconciliation",
|
|
4211
|
+
"fr": "Journée nationale de la vérité et de la réconciliation"
|
|
4212
|
+
}
|
|
4213
|
+
},
|
|
4208
4214
|
"2nd monday after 10-01": {
|
|
4209
4215
|
"name": {
|
|
4210
4216
|
"en": "Thanksgiving",
|
|
@@ -4831,6 +4837,10 @@
|
|
|
4831
4837
|
"01-01": {
|
|
4832
4838
|
"_name": "01-01"
|
|
4833
4839
|
},
|
|
4840
|
+
"easter -3": {
|
|
4841
|
+
"_name": "easter -3",
|
|
4842
|
+
"type": "observance"
|
|
4843
|
+
},
|
|
4834
4844
|
"easter -2": {
|
|
4835
4845
|
"_name": "easter -2"
|
|
4836
4846
|
},
|
|
@@ -5154,17 +5164,11 @@
|
|
|
5154
5164
|
},
|
|
5155
5165
|
"type": "optional"
|
|
5156
5166
|
},
|
|
5157
|
-
"
|
|
5167
|
+
"Thursday after 04-02 if is observance holiday then next Thursday": {
|
|
5158
5168
|
"name": {
|
|
5159
5169
|
"de": "Näfelser Fahrt",
|
|
5160
5170
|
"fr": "Bataille de Näfels"
|
|
5161
|
-
}
|
|
5162
|
-
"disable": [
|
|
5163
|
-
"2023-04-06"
|
|
5164
|
-
],
|
|
5165
|
-
"enable": [
|
|
5166
|
-
"2023-04-13"
|
|
5167
|
-
]
|
|
5171
|
+
}
|
|
5168
5172
|
},
|
|
5169
5173
|
"3rd sunday after 09-01": false,
|
|
5170
5174
|
"11-01": {
|
|
@@ -10586,18 +10590,12 @@
|
|
|
10586
10590
|
"zh": "香港特別行政區成立紀念日"
|
|
10587
10591
|
}
|
|
10588
10592
|
},
|
|
10589
|
-
"chinese 08-0-16 and if Sunday then next Monday": {
|
|
10593
|
+
"chinese 08-0-16 and if Sunday then next Monday if is public holiday then next day omit Saturday, Sunday": {
|
|
10590
10594
|
"substitute": true,
|
|
10591
10595
|
"name": {
|
|
10592
10596
|
"en": "The day following the Chinese Mid-Autumn Festival",
|
|
10593
10597
|
"zh": "中秋節翌日"
|
|
10594
|
-
}
|
|
10595
|
-
"disable": [
|
|
10596
|
-
"2020-10-01"
|
|
10597
|
-
],
|
|
10598
|
-
"enable": [
|
|
10599
|
-
"2020-10-02"
|
|
10600
|
-
]
|
|
10598
|
+
}
|
|
10601
10599
|
},
|
|
10602
10600
|
"10-01 and if Sunday then next Monday": {
|
|
10603
10601
|
"substitute": true,
|
|
@@ -16618,11 +16616,10 @@
|
|
|
16618
16616
|
"mi": "Ōtākou"
|
|
16619
16617
|
},
|
|
16620
16618
|
"days": {
|
|
16621
|
-
"03-23 if
|
|
16619
|
+
"03-23 if Tuesday,Wednesday,Thursday then previous Monday if Friday,Saturday,Sunday then next Monday if is public holiday then next Monday": {
|
|
16622
16620
|
"name": {
|
|
16623
16621
|
"en": "Provincial anniversary day"
|
|
16624
|
-
}
|
|
16625
|
-
"note": "varies if coincides with easter monday"
|
|
16622
|
+
}
|
|
16626
16623
|
}
|
|
16627
16624
|
}
|
|
16628
16625
|
},
|