date-holidays 3.26.12 → 3.27.0

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,15 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.27.0](https://github.com/commenthol/date-holidays/compare/3.26.13...3.27.0) (2026-04-11)
4
+
5
+ - fix: update Sri Lanka data [06b537fe](https://github.com/commenthol/date-holidays/commit/06b537fe9e69ec4ac423ce937062320f20432d6a)
6
+ - feat(LK): add Sri Lanka public holidays [82f808a8](https://github.com/commenthol/date-holidays/commit/82f808a8cdbea62295f3aafa2458bb6fa68e5f63)
7
+
8
+ ## [3.26.13](https://github.com/commenthol/date-holidays/compare/3.26.12...3.26.13) (2026-04-08)
9
+
10
+ - fix(SG): add Vesak Day [33682655](https://github.com/commenthol/date-holidays/commit/33682655f907e2c2d179bec1b39692e107ba00ab)
11
+ - docs(AU): update legislation sources for NSW [1e70aef9](https://github.com/commenthol/date-holidays/commit/1e70aef930c8e7fa0e7706193b058f5ef3cea9d3)
12
+ - docs(AU): update legislation sources for WA, NT, and SA [22d4f463](https://github.com/commenthol/date-holidays/commit/22d4f4635c7ebc36b76e879ad36e973f1cba47cf)
13
+ - fix(AU): ANZAC Day substitute rule for NSW [97fd1aaf](https://github.com/commenthol/date-holidays/commit/97fd1aafc75282fc93e8321f2875d98feef565c1)
14
+ - fix(AU): 26 Dec substitute rules for NT and SA [aa9f5a40](https://github.com/commenthol/date-holidays/commit/aa9f5a40eb9ffcc35dfe5a7b68ade31b6f961196)
15
+ - fix(AU): add Easter Sunday for WA, NT and SA [76e9204a](https://github.com/commenthol/date-holidays/commit/76e9204a8250e5743ab3c6a6475536ce4441c93f)
16
+ - fix(AU-NSW): Anzac Day substitute rule [8e956973](https://github.com/commenthol/date-holidays/commit/8e95697356babbd8822691412324e991b5a54aa8)
17
+ - docs: add awesome-europe badge [a0b7c3ac](https://github.com/commenthol/date-holidays/commit/a0b7c3ac69e7a9c5b20264df6269c6ff9b88ffc7)
18
+
3
19
  ## [3.26.12](https://github.com/commenthol/date-holidays/compare/3.26.11...3.26.12) (2026-03-28)
4
20
 
5
21
  - docs: update license and readme [911026f3](https://github.com/commenthol/date-holidays/commit/911026f320137e4bbf48e3f48829edde4dd96cb2)
6
22
  - fix(NC,RE,GP,WF,PF): Fix FR territory bugs and add missing overseas collectivities [dab1169a](https://github.com/commenthol/date-holidays/commit/dab1169ae3bf7e35ebcfdda4e10f7dcebaaeacdb)
7
23
 
8
- ## [3.27.0](https://github.com/commenthol/date-holidays/compare/3.26.10...3.27.0) (2026-03-15)
24
+ ## [3.26.11](https://github.com/commenthol/date-holidays/compare/3.26.10...3.26.11) (2026-03-15)
9
25
 
10
26
  - fix(US-FL,#576): Add Commemoration of America's 250th Birthday holiday for Florida in 2026 [5638e72f](https://github.com/commenthol/date-holidays/commit/5638e72f355d0ca6dcc3282e7af7298297eac41b)
11
27
  - test(KR): fixtures [c156bbd8](https://github.com/commenthol/date-holidays/commit/c156bbd8199562933fc41b565ec9de867624a054)
12
- - feat(KR): Constitution Day becomes public holiday from 2026 [e39fbf4f](https://github.com/commenthol/date-holidays/commit/e39fbf4f643f956e670af1b0e3de267263a8765a)
28
+ - fix(KR): Constitution Day becomes public holiday from 2026 [e39fbf4f](https://github.com/commenthol/date-holidays/commit/e39fbf4f643f956e670af1b0e3de267263a8765a)
13
29
 
14
30
  ## [3.26.10](https://github.com/commenthol/date-holidays/compare/3.26.9...3.26.10) (2026-03-15)
15
31
 
package/LICENSE CHANGED
@@ -135,6 +135,7 @@ https://en.wikipedia.org/wiki/Public_holidays_in_Slovenia
135
135
  https://en.wikipedia.org/wiki/Public_holidays_in_Somalia
136
136
  https://en.wikipedia.org/wiki/Public_holidays_in_South_Africa
137
137
  https://en.wikipedia.org/wiki/Public_holidays_in_South_Sudan
138
+ https://en.wikipedia.org/wiki/Public_holidays_in_Sri_Lanka
138
139
  https://en.wikipedia.org/wiki/Public_holidays_in_Sudan
139
140
  https://en.wikipedia.org/wiki/Public_holidays_in_Taiwan
140
141
  https://en.wikipedia.org/wiki/Public_holidays_in_Tanzania
package/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  [![NPM version](https://badge.fury.io/js/date-holidays.svg)](https://www.npmjs.com/package/date-holidays/)
6
6
  [![Build Status](https://github.com/commenthol/date-holidays/actions/workflows/ci.yml/badge.svg)](https://github.com/commenthol/date-holidays/actions/workflows/ci.yml)
7
+ [![listed on awesome-europe](https://img.shields.io/badge/listed%20on-awesome--europe-ffcc00?style=flat-square&logo=europeanunion&logoColor=ffcc00&labelColor=003399)](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.
@@ -56,7 +57,7 @@ If you are missing holidays from your country, state, region please consider
56
57
  <!-- !tree -->
57
58
 
58
59
  ```
59
- Countries: 201
60
+ Countries: 202
60
61
  ├── AD: Andorra
61
62
  │ └── 07: Andorra la Vella
62
63
  ├── AE: دولة الإمارات العربية المتحدة
@@ -432,6 +433,7 @@ Countries: 201
432
433
  ├── KY: Cayman Islands
433
434
  ├── LC: St. Lucia
434
435
  ├── LI: Liechtenstein
436
+ ├── LK: ශ්‍රී ලංකාව
435
437
  ├── LR: Liberia
436
438
  ├── LS: \'Muso oa Lesotho
437
439
  ├── LT: Lietuva
@@ -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/~/pdf/view/act/2010/115/whole
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: false
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: false
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/LZ/C/A/HOLIDAYS%20ACT%201910.aspx
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: false
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: false
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: false
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
@@ -0,0 +1,250 @@
1
+ # @attrib https://en.wikipedia.org/wiki/Public_holidays_in_Sri_Lanka
2
+ # @source https://www.moha.gov.lk/ (State Ministry of Home Affairs, Sri Lanka)
3
+ # @source http://www.documents.gov.lk/ (Department of Government Printing, Sri Lanka)
4
+ holidays:
5
+ LK:
6
+ names:
7
+ en: Sri Lanka
8
+ si: ශ්‍රී ලංකාව
9
+ ta: இலங்கை
10
+ langs:
11
+ - si
12
+ - ta
13
+ - en
14
+ zones:
15
+ - Asia/Colombo
16
+ days:
17
+ 01-01:
18
+ name:
19
+ en: New Year's Day
20
+ si: නව වසර
21
+ ta: புத்தாண்டு தினம்
22
+ type: public
23
+ 01-03:
24
+ name:
25
+ en: Duruthu Full Moon Poya Day
26
+ si: දුරුතු පුර පසළොස්වක පෝය දිනය
27
+ ta: துருத்து முழு நிலவு போயா தினம்
28
+ type: public
29
+ 01-15:
30
+ name:
31
+ en: Tamil Thai Pongal Day
32
+ si: දෙමළ තෛ පොංගල් දිනය
33
+ ta: தைப்பொங்கல் தினம்
34
+ type: public
35
+ 02-01:
36
+ name:
37
+ en: Navam Full Moon Poya Day
38
+ si: නවම් පුර පසළොස්වක පෝය දිනය
39
+ ta: நவம் முழு நிலவு போயா தினம்
40
+ type: public
41
+ 02-04:
42
+ name:
43
+ en: National Day
44
+ si: ජාතික දිනය
45
+ ta: தேசிய தினம்
46
+ type: public
47
+ 02-15:
48
+ name:
49
+ en: Mahasivarathri Day
50
+ si: මහා ශිවරාත්‍රී දිනය
51
+ ta: மகா சிவராத்திரி தினம்
52
+ type: public
53
+ 03-02:
54
+ name:
55
+ en: Madin Full Moon Poya Day
56
+ si: මැදින් පුර පසළොස්වක පෝය දිනය
57
+ ta: மெதின் முழு நிலவு போயா தினம்
58
+ type: public
59
+ 03-21:
60
+ name:
61
+ en: Id-Ul-Fitr (Ramazan Festival Day)
62
+ si: ඊදුල් ෆිතර් (රාමසාන් උත්සව දිනය)
63
+ ta: ஈதுல் பித்ர் (ரமலான் பண்டிகை தினம்)
64
+ type: public
65
+ 04-01:
66
+ name:
67
+ en: Bak Full Moon Poya Day
68
+ si: බක් පුර පසළොස්වක පෝය දිනය
69
+ ta: பக் முழு நிலவு போயா தினம்
70
+ type: public
71
+ 04-13:
72
+ name:
73
+ en: Day before Sinhala and Tamil New Year
74
+ si: සිංහල හා දෙමළ අලුත් අවුරුදු පූර්ව දිනය
75
+ ta: சிங்கள மற்றும் தமிழ் புத்தாண்டு முதல் நாள்
76
+ type: public
77
+ 04-14:
78
+ name:
79
+ en: Sinhala and Tamil New Year
80
+ si: සිංහල හා දෙමළ අලුත් අවුරුද්ද
81
+ ta: சிங்கள மற்றும் தமிழ் புத்தாண்டு
82
+ type: public
83
+ 05-01:
84
+ name:
85
+ en: Labour Day and Vesak Full Moon Poya Day
86
+ si: කම්කරු දිනය සහ වෙසක් පුර පසළොස්වක පෝය දිනය
87
+ ta: தொழிலாளர் தினம் மற்றும் வெசாக் முழு நிலவு போயா தினம்
88
+ type: public
89
+ 05-02:
90
+ name:
91
+ en: Day following Vesak Full Moon Poya Day
92
+ si: වෙසක් පෝය දිනට පසු දිනය
93
+ ta: வெசாக் போயா தினத்திற்கு அடுத்த நாள்
94
+ type: public
95
+ 05-28:
96
+ name:
97
+ en: Id-Ul-Alha (Hadji Festival Day)
98
+ si: ඊදුල් අල්හා (හජ්ජි උත්සව දිනය)
99
+ ta: ஈதுல் அழ்ஹா (ஹஜ் பண்டிகை தினம்)
100
+ type: public
101
+ 05-30:
102
+ name:
103
+ en: Adhi Poson Full Moon Poya Day
104
+ si: අධි පොසොන් පුර පසළොස්වක පෝය දිනය
105
+ ta: அதி பொசோன் முழு நிலவு போயா தினம்
106
+ type: public
107
+ 06-29:
108
+ name:
109
+ en: Poson Full Moon Poya Day
110
+ si: පොසොන් පුර පසළොස්වක පෝය දිනය
111
+ ta: பொசோன் முழு நிலவு போயா தினம்
112
+ type: public
113
+ 07-29:
114
+ name:
115
+ en: Esala Full Moon Poya Day
116
+ si: ඇසළ පුර පසළොස්වක පෝය දිනය
117
+ ta: எசல முழு நிலவு போயா தினம்
118
+ type: public
119
+ 08-26:
120
+ name:
121
+ en: Milad-Un-Nabi (Holy Prophet's Birthday)
122
+ si: මිලාද්-උන්-නබි (නබි නායකතුමාගේ උපන් දිනය)
123
+ ta: மீலாது நபி (நபி பெருமானின் பிறந்த தினம்)
124
+ type: public
125
+ 08-27:
126
+ name:
127
+ en: Nikini Full Moon Poya Day
128
+ si: නිකිණි පුර පසළොස්වක පෝය දිනය
129
+ ta: நிகினி முழு நிலவு போயா தினம்
130
+ type: public
131
+ 09-26:
132
+ name:
133
+ en: Binara Full Moon Poya Day
134
+ si: බිනර පුර පසළොස්වක පෝය දිනය
135
+ ta: பினர முழு நிலவு போயா தினம்
136
+ type: public
137
+ 10-25:
138
+ name:
139
+ en: Vap Full Moon Poya Day
140
+ si: වප් පුර පසළොස්වක පෝය දිනය
141
+ ta: வப் முழு நிலவு போயா தினம்
142
+ type: public
143
+ 11-08:
144
+ name:
145
+ en: Deepavali Festival Day
146
+ si: දීපවාලි උත්සව දිනය
147
+ ta: தீபாவளி பண்டிகை தினம்
148
+ type: public
149
+ 11-24:
150
+ name:
151
+ en: Il Full Moon Poya Day
152
+ si: ඉල් පුර පසළොස්වක පෝය දිනය
153
+ ta: இல் முழு நிலவு போயா தினம்
154
+ type: public
155
+ 12-23:
156
+ name:
157
+ en: Unduvap Full Moon Poya Day
158
+ si: උඳුවප් පුර පසළොස්වක පෝය දිනය
159
+ ta: உந்துவப் முழு நிலவு போயா தினம்
160
+ type: public
161
+ 12-25:
162
+ name:
163
+ en: Christmas Day
164
+ si: නත්තල් දිනය
165
+ ta: கிறிஸ்மஸ் தினம்
166
+ type: public
167
+ easter -2:
168
+ name:
169
+ en: Good Friday
170
+ si: මහ සිකුරාදා
171
+ ta: புனித வெள்ளி
172
+ type: public
173
+ # states:
174
+ # '1':
175
+ # name: Western
176
+ # regions:
177
+ # '52':
178
+ # name: Ampara
179
+ # '71':
180
+ # name: Anuradhapura
181
+ # '81':
182
+ # name: Badulla
183
+ # '2':
184
+ # name: Central
185
+ # regions:
186
+ # '11':
187
+ # name: Colombo
188
+ # '31':
189
+ # name: Galle
190
+ # '51':
191
+ # name: Batticaloa
192
+ # '3':
193
+ # name: Southern
194
+ # regions:
195
+ # '12':
196
+ # name: Gampaha
197
+ # '33':
198
+ # name: Hambantota
199
+ # '41':
200
+ # name: Jaffna
201
+ # '4':
202
+ # name: Northern
203
+ # regions:
204
+ # '13':
205
+ # name: Kalutara
206
+ # '21':
207
+ # name: Kandy
208
+ # '42':
209
+ # name: Kilinochchi
210
+ # '61':
211
+ # name: Kurunegala
212
+ # '92':
213
+ # name: Kegalle
214
+ # '5':
215
+ # name: Eastern
216
+ # regions:
217
+ # '22':
218
+ # name: Matale
219
+ # '32':
220
+ # name: Matara
221
+ # '43':
222
+ # name: Mannar
223
+ # '6':
224
+ # name: North Western
225
+ # regions:
226
+ # '45':
227
+ # name: Mullaitivu
228
+ # '82':
229
+ # name: Moneragala
230
+ # '7':
231
+ # name: North Central
232
+ # regions:
233
+ # '23':
234
+ # name: Nuwara Eliya
235
+ # '72':
236
+ # name: Polonnaruwa
237
+ # '8':
238
+ # name: Uva
239
+ # regions:
240
+ # '62':
241
+ # name: Puttalam
242
+ # '91':
243
+ # name: Ratnapura
244
+ # '9':
245
+ # name: Sabaragamuwa
246
+ # regions:
247
+ # '44':
248
+ # name: Vavuniya
249
+ # '53':
250
+ # name: Trincomalee
@@ -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":