date-holidays 3.26.12 → 3.26.13
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 +11 -0
- package/README.md +1 -0
- package/data/countries/AU.yaml +47 -10
- package/data/countries/SG.yaml +5 -0
- package/data/holidays.json +90 -10
- 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 +90 -10
- package/package.json +2 -1
- package/src/data.js +90 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.26.13](https://github.com/commenthol/date-holidays/compare/3.26.12...3.26.13) (2026-04-08)
|
|
4
|
+
|
|
5
|
+
- fix(SG): add Vesak Day [33682655](https://github.com/commenthol/date-holidays/commit/33682655f907e2c2d179bec1b39692e107ba00ab)
|
|
6
|
+
- docs(AU): update legislation sources for NSW [1e70aef9](https://github.com/commenthol/date-holidays/commit/1e70aef930c8e7fa0e7706193b058f5ef3cea9d3)
|
|
7
|
+
- docs(AU): update legislation sources for WA, NT, and SA [22d4f463](https://github.com/commenthol/date-holidays/commit/22d4f4635c7ebc36b76e879ad36e973f1cba47cf)
|
|
8
|
+
- fix(AU): ANZAC Day substitute rule for NSW [97fd1aaf](https://github.com/commenthol/date-holidays/commit/97fd1aafc75282fc93e8321f2875d98feef565c1)
|
|
9
|
+
- fix(AU): 26 Dec substitute rules for NT and SA [aa9f5a40](https://github.com/commenthol/date-holidays/commit/aa9f5a40eb9ffcc35dfe5a7b68ade31b6f961196)
|
|
10
|
+
- fix(AU): add Easter Sunday for WA, NT and SA [76e9204a](https://github.com/commenthol/date-holidays/commit/76e9204a8250e5743ab3c6a6475536ce4441c93f)
|
|
11
|
+
- fix(AU-NSW): Anzac Day substitute rule [8e956973](https://github.com/commenthol/date-holidays/commit/8e95697356babbd8822691412324e991b5a54aa8)
|
|
12
|
+
- docs: add awesome-europe badge [a0b7c3ac](https://github.com/commenthol/date-holidays/commit/a0b7c3ac69e7a9c5b20264df6269c6ff9b88ffc7)
|
|
13
|
+
|
|
3
14
|
## [3.26.12](https://github.com/commenthol/date-holidays/compare/3.26.11...3.26.12) (2026-03-28)
|
|
4
15
|
|
|
5
16
|
- docs: update license and readme [911026f3](https://github.com/commenthol/date-holidays/commit/911026f320137e4bbf48e3f48829edde4dd96cb2)
|
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/date-holidays/)
|
|
6
6
|
[](https://github.com/commenthol/date-holidays/actions/workflows/ci.yml)
|
|
7
|
+
[](https://github.com/GeiserX/awesome-europe#readme)
|
|
7
8
|
|
|
8
9
|
This module provides dates of holidays for various countries, states and regions
|
|
9
10
|
by type while considering the applicable timezone.
|
package/data/countries/AU.yaml
CHANGED
|
@@ -90,12 +90,25 @@ holidays:
|
|
|
90
90
|
1st monday in October:
|
|
91
91
|
name:
|
|
92
92
|
en: Labour Day
|
|
93
|
-
# @source https://www.legislation.nsw.gov.au
|
|
93
|
+
# @source https://www.legislation.nsw.gov.au/view/whole/html/inforce/current/act-2010-115
|
|
94
|
+
# @source https://www.legislation.nsw.gov.au/view/whole/html/inforce/current/sl-2011-0081
|
|
94
95
|
NSW:
|
|
95
96
|
name: New South Wales
|
|
96
97
|
zones:
|
|
97
98
|
- Australia/Sydney
|
|
98
99
|
days:
|
|
100
|
+
04-25 and if saturday then next monday:
|
|
101
|
+
substitute: true
|
|
102
|
+
name:
|
|
103
|
+
en: Anzac Day
|
|
104
|
+
active:
|
|
105
|
+
- to: "2026-04-25"
|
|
106
|
+
04-25 and if saturday,sunday then next monday:
|
|
107
|
+
substitute: true
|
|
108
|
+
name:
|
|
109
|
+
en: Anzac Day
|
|
110
|
+
active:
|
|
111
|
+
- from: "2026-04-25"
|
|
99
112
|
2nd monday in June:
|
|
100
113
|
name:
|
|
101
114
|
en: Queen's Birthday
|
|
@@ -113,13 +126,18 @@ holidays:
|
|
|
113
126
|
1st monday in October:
|
|
114
127
|
name:
|
|
115
128
|
en: Labour Day
|
|
116
|
-
# @source https://legislation.nt.gov.au/en/Legislation/PUBLIC-HOLIDAYS-ACT-1981
|
|
129
|
+
# @source https://www.legislation.nt.gov.au/en/Legislation/PUBLIC-HOLIDAYS-ACT-1981
|
|
130
|
+
# @source https://www.legislation.nt.gov.au/en/Bills/Public-Holidays-Amendment-Bill-2023-S-86
|
|
117
131
|
NT:
|
|
118
132
|
name: Northern Territory
|
|
119
133
|
zones:
|
|
120
134
|
- Australia/Darwin
|
|
121
135
|
days:
|
|
122
|
-
easter:
|
|
136
|
+
easter:
|
|
137
|
+
name:
|
|
138
|
+
en: Easter Sunday
|
|
139
|
+
active:
|
|
140
|
+
- from: "2023-04-09"
|
|
123
141
|
04-25: false
|
|
124
142
|
04-25 if sunday then next monday:
|
|
125
143
|
substitute: true
|
|
@@ -148,10 +166,15 @@ holidays:
|
|
|
148
166
|
12-25 if saturday then next monday if sunday then next tuesday:
|
|
149
167
|
substitute: true
|
|
150
168
|
_name: 12-25
|
|
151
|
-
12-26 and if saturday then next monday if sunday then next tuesday:
|
|
152
|
-
12-26 if saturday then next monday if sunday then next tuesday:
|
|
169
|
+
12-26 and if saturday then next monday if sunday then next tuesday:
|
|
153
170
|
substitute: true
|
|
154
171
|
_name: 12-26
|
|
172
|
+
active:
|
|
173
|
+
- from: "2023-12-26"
|
|
174
|
+
12-26 if saturday then next monday if sunday then next tuesday:
|
|
175
|
+
_name: 12-26
|
|
176
|
+
active:
|
|
177
|
+
- to: "2023-12-26"
|
|
155
178
|
12-31 19:00:
|
|
156
179
|
_name: 12-31
|
|
157
180
|
# @source https://www.legislation.qld.gov.au/view/html/inforce/current/act-1983-018
|
|
@@ -181,13 +204,17 @@ holidays:
|
|
|
181
204
|
- from: "2022-09-09"
|
|
182
205
|
12-24 18:00:
|
|
183
206
|
_name: 12-24
|
|
184
|
-
# @source https://www.legislation.sa.gov.au/
|
|
207
|
+
# @source https://www.legislation.sa.gov.au/lz?path=%2FC%2FA%2FPublic%20Holidays%20Act%202023
|
|
185
208
|
SA:
|
|
186
209
|
name: South Australia
|
|
187
210
|
zones:
|
|
188
211
|
- Australia/Adelaide
|
|
189
212
|
days:
|
|
190
|
-
easter:
|
|
213
|
+
easter:
|
|
214
|
+
name:
|
|
215
|
+
en: Easter Sunday
|
|
216
|
+
active:
|
|
217
|
+
- from: "2024-03-31"
|
|
191
218
|
2nd monday in March:
|
|
192
219
|
name:
|
|
193
220
|
en: Adelaide Cup Day
|
|
@@ -210,10 +237,15 @@ holidays:
|
|
|
210
237
|
12-25 if saturday then next monday if sunday then next tuesday:
|
|
211
238
|
substitute: true
|
|
212
239
|
_name: 12-25
|
|
213
|
-
12-26 and if saturday then next monday if sunday then next tuesday:
|
|
214
|
-
12-26 if saturday then next monday if sunday then next tuesday:
|
|
240
|
+
12-26 and if saturday then next monday if sunday then next tuesday:
|
|
215
241
|
substitute: true
|
|
216
242
|
name: Proclamation Day
|
|
243
|
+
active:
|
|
244
|
+
- from: "2024-12-26"
|
|
245
|
+
12-26 if saturday then next monday if sunday then next tuesday:
|
|
246
|
+
name: Proclamation Day
|
|
247
|
+
active:
|
|
248
|
+
- to: "2024-12-26"
|
|
217
249
|
12-31 19:00:
|
|
218
250
|
_name: 12-31
|
|
219
251
|
# @source https://www.legislation.tas.gov.au/view/html/inforce/current/act-2000-096
|
|
@@ -280,6 +312,7 @@ holidays:
|
|
|
280
312
|
name:
|
|
281
313
|
en: Melbourne Cup
|
|
282
314
|
# @source https://www.legislation.wa.gov.au/legislation/statutes.nsf/law_a639.html
|
|
315
|
+
# @source https://www.legislation.wa.gov.au/legislation/statutes.nsf/law_a147326.html
|
|
283
316
|
WA:
|
|
284
317
|
name: Western Australia
|
|
285
318
|
zones:
|
|
@@ -290,7 +323,11 @@ holidays:
|
|
|
290
323
|
name:
|
|
291
324
|
en: Labour Day
|
|
292
325
|
easter -1: false
|
|
293
|
-
easter:
|
|
326
|
+
easter:
|
|
327
|
+
name:
|
|
328
|
+
en: Easter Sunday
|
|
329
|
+
active:
|
|
330
|
+
- from: "2022-04-17"
|
|
294
331
|
04-25: false
|
|
295
332
|
04-25 and if saturday,sunday then next monday:
|
|
296
333
|
substitute: true
|
package/data/countries/SG.yaml
CHANGED
|
@@ -147,6 +147,11 @@ holidays:
|
|
|
147
147
|
# https://www.mom.gov.sg/employment-practices/public-holidays#Year-2025
|
|
148
148
|
"2025-05-12":
|
|
149
149
|
_name: Vesak
|
|
150
|
+
"2026-05-31":
|
|
151
|
+
_name: Vesak
|
|
152
|
+
"2026-06-01":
|
|
153
|
+
substitute: true
|
|
154
|
+
_name: Vesak
|
|
150
155
|
# Deepavali
|
|
151
156
|
# date if sunday then next monday
|
|
152
157
|
"2000-10-26":
|
package/data/holidays.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2026-
|
|
2
|
+
"version": "2026-04-08",
|
|
3
3
|
"license": "CC-BY-SA-3",
|
|
4
4
|
"holidays": {
|
|
5
5
|
"AD": {
|
|
@@ -1571,6 +1571,28 @@
|
|
|
1571
1571
|
"Australia/Sydney"
|
|
1572
1572
|
],
|
|
1573
1573
|
"days": {
|
|
1574
|
+
"04-25 and if saturday then next monday": {
|
|
1575
|
+
"substitute": true,
|
|
1576
|
+
"name": {
|
|
1577
|
+
"en": "Anzac Day"
|
|
1578
|
+
},
|
|
1579
|
+
"active": [
|
|
1580
|
+
{
|
|
1581
|
+
"to": "2026-04-25"
|
|
1582
|
+
}
|
|
1583
|
+
]
|
|
1584
|
+
},
|
|
1585
|
+
"04-25 and if saturday,sunday then next monday": {
|
|
1586
|
+
"substitute": true,
|
|
1587
|
+
"name": {
|
|
1588
|
+
"en": "Anzac Day"
|
|
1589
|
+
},
|
|
1590
|
+
"active": [
|
|
1591
|
+
{
|
|
1592
|
+
"from": "2026-04-25"
|
|
1593
|
+
}
|
|
1594
|
+
]
|
|
1595
|
+
},
|
|
1574
1596
|
"2nd monday in June": {
|
|
1575
1597
|
"name": {
|
|
1576
1598
|
"en": "Queen's Birthday"
|
|
@@ -1610,7 +1632,16 @@
|
|
|
1610
1632
|
"Australia/Darwin"
|
|
1611
1633
|
],
|
|
1612
1634
|
"days": {
|
|
1613
|
-
"easter":
|
|
1635
|
+
"easter": {
|
|
1636
|
+
"name": {
|
|
1637
|
+
"en": "Easter Sunday"
|
|
1638
|
+
},
|
|
1639
|
+
"active": [
|
|
1640
|
+
{
|
|
1641
|
+
"from": "2023-04-09"
|
|
1642
|
+
}
|
|
1643
|
+
]
|
|
1644
|
+
},
|
|
1614
1645
|
"04-25": false,
|
|
1615
1646
|
"04-25 if sunday then next monday": {
|
|
1616
1647
|
"substitute": true,
|
|
@@ -1657,10 +1688,22 @@
|
|
|
1657
1688
|
"substitute": true,
|
|
1658
1689
|
"_name": "12-25"
|
|
1659
1690
|
},
|
|
1660
|
-
"12-26 and if saturday then next monday if sunday then next tuesday":
|
|
1661
|
-
"12-26 if saturday then next monday if sunday then next tuesday": {
|
|
1691
|
+
"12-26 and if saturday then next monday if sunday then next tuesday": {
|
|
1662
1692
|
"substitute": true,
|
|
1663
|
-
"_name": "12-26"
|
|
1693
|
+
"_name": "12-26",
|
|
1694
|
+
"active": [
|
|
1695
|
+
{
|
|
1696
|
+
"from": "2023-12-26"
|
|
1697
|
+
}
|
|
1698
|
+
]
|
|
1699
|
+
},
|
|
1700
|
+
"12-26 if saturday then next monday if sunday then next tuesday": {
|
|
1701
|
+
"_name": "12-26",
|
|
1702
|
+
"active": [
|
|
1703
|
+
{
|
|
1704
|
+
"to": "2023-12-26"
|
|
1705
|
+
}
|
|
1706
|
+
]
|
|
1664
1707
|
},
|
|
1665
1708
|
"12-31 19:00": {
|
|
1666
1709
|
"_name": "12-31"
|
|
@@ -1716,7 +1759,16 @@
|
|
|
1716
1759
|
"Australia/Adelaide"
|
|
1717
1760
|
],
|
|
1718
1761
|
"days": {
|
|
1719
|
-
"easter":
|
|
1762
|
+
"easter": {
|
|
1763
|
+
"name": {
|
|
1764
|
+
"en": "Easter Sunday"
|
|
1765
|
+
},
|
|
1766
|
+
"active": [
|
|
1767
|
+
{
|
|
1768
|
+
"from": "2024-03-31"
|
|
1769
|
+
}
|
|
1770
|
+
]
|
|
1771
|
+
},
|
|
1720
1772
|
"2nd monday in March": {
|
|
1721
1773
|
"name": {
|
|
1722
1774
|
"en": "Adelaide Cup Day"
|
|
@@ -1755,10 +1807,22 @@
|
|
|
1755
1807
|
"substitute": true,
|
|
1756
1808
|
"_name": "12-25"
|
|
1757
1809
|
},
|
|
1758
|
-
"12-26 and if saturday then next monday if sunday then next tuesday":
|
|
1759
|
-
"12-26 if saturday then next monday if sunday then next tuesday": {
|
|
1810
|
+
"12-26 and if saturday then next monday if sunday then next tuesday": {
|
|
1760
1811
|
"substitute": true,
|
|
1761
|
-
"name": "Proclamation Day"
|
|
1812
|
+
"name": "Proclamation Day",
|
|
1813
|
+
"active": [
|
|
1814
|
+
{
|
|
1815
|
+
"from": "2024-12-26"
|
|
1816
|
+
}
|
|
1817
|
+
]
|
|
1818
|
+
},
|
|
1819
|
+
"12-26 if saturday then next monday if sunday then next tuesday": {
|
|
1820
|
+
"name": "Proclamation Day",
|
|
1821
|
+
"active": [
|
|
1822
|
+
{
|
|
1823
|
+
"to": "2024-12-26"
|
|
1824
|
+
}
|
|
1825
|
+
]
|
|
1762
1826
|
},
|
|
1763
1827
|
"12-31 19:00": {
|
|
1764
1828
|
"_name": "12-31"
|
|
@@ -1874,7 +1938,16 @@
|
|
|
1874
1938
|
}
|
|
1875
1939
|
},
|
|
1876
1940
|
"easter -1": false,
|
|
1877
|
-
"easter":
|
|
1941
|
+
"easter": {
|
|
1942
|
+
"name": {
|
|
1943
|
+
"en": "Easter Sunday"
|
|
1944
|
+
},
|
|
1945
|
+
"active": [
|
|
1946
|
+
{
|
|
1947
|
+
"from": "2022-04-17"
|
|
1948
|
+
}
|
|
1949
|
+
]
|
|
1950
|
+
},
|
|
1878
1951
|
"04-25": false,
|
|
1879
1952
|
"04-25 and if saturday,sunday then next monday": {
|
|
1880
1953
|
"substitute": true,
|
|
@@ -21755,6 +21828,13 @@
|
|
|
21755
21828
|
"2025-05-12": {
|
|
21756
21829
|
"_name": "Vesak"
|
|
21757
21830
|
},
|
|
21831
|
+
"2026-05-31": {
|
|
21832
|
+
"_name": "Vesak"
|
|
21833
|
+
},
|
|
21834
|
+
"2026-06-01": {
|
|
21835
|
+
"substitute": true,
|
|
21836
|
+
"_name": "Vesak"
|
|
21837
|
+
},
|
|
21758
21838
|
"2000-10-26": {
|
|
21759
21839
|
"_name": "Deepavali"
|
|
21760
21840
|
},
|