Skip to content

Commit 983a489

Browse files
authored
Merge pull request #567 from amalgame21/HK-2026-fix
fix(HK): correct "The day following Easter Monday" for 2026
2 parents c76a4ab + 0511106 commit 983a489

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

data/countries/HK.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
holidays:
22
HK:
33
# sources:
4+
# - https://www.gov.hk/en/about/abouthk/holiday/2026.htm
45
# - https://www.gov.hk/en/about/abouthk/holiday/2025.htm
56
# - https://www.gov.hk/en/about/abouthk/holiday/2024.htm
67
# - https://www.gov.hk/en/about/abouthk/holiday/2023.htm
@@ -76,11 +77,16 @@ holidays:
7677
disable:
7778
# As the day following Ching Ming Festival and Easter Monday fall on the same day, the next following day that is not itself a general holiday will be observed as an additional general holiday.
7879
- "2021-04-05"
80+
- "2026-04-06"
7981
# As the day following Ching Ming Festival and Easter Monday fall on the same day, the next following day that is not itself a general holiday will be observed as an additional general holiday.
8082
"2021-04-06":
8183
name:
8284
en: The day following Easter Monday
8385
zh: 復活節星期一翌日
86+
"2026-04-07":
87+
name:
88+
en: The day following Easter Monday
89+
zh: 復活節星期一翌日
8490
05-01 not on Sunday:
8591
name:
8692
en: Labour Day

test/fixtures/HK-2026.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@
5757
"date": "2026-04-06 00:00:00",
5858
"start": "2026-04-05T16:00:00.000Z",
5959
"end": "2026-04-06T16:00:00.000Z",
60-
"name": "復活節星期一",
60+
"name": "清明節翌日",
6161
"type": "public",
62-
"rule": "easter 1",
62+
"rule": "substitutes chinese 5-01 solarterm if Sunday then next Monday",
6363
"_weekday": "Mon"
6464
},
6565
{
66-
"date": "2026-04-06 00:00:00",
67-
"start": "2026-04-05T16:00:00.000Z",
68-
"end": "2026-04-06T16:00:00.000Z",
69-
"name": "清明節翌日",
66+
"date": "2026-04-07 00:00:00",
67+
"start": "2026-04-06T16:00:00.000Z",
68+
"end": "2026-04-07T16:00:00.000Z",
69+
"name": "復活節星期一翌日",
7070
"type": "public",
71-
"rule": "substitutes chinese 5-01 solarterm if Sunday then next Monday",
72-
"_weekday": "Mon"
71+
"rule": "2026-04-07",
72+
"_weekday": "Tue"
7373
},
7474
{
7575
"date": "2026-05-01 00:00:00",

0 commit comments

Comments
 (0)