Skip to content

Commit

Permalink
Merge pull request #207 from frankieroberto/patch-1
Browse files Browse the repository at this point in the history
Add Platinum Jubilee bank holiday for 2022
  • Loading branch information
ttwo32 authored Jan 5, 2022
2 parents 156902f + f41d1c1 commit 4087b4b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions gb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,25 @@ months:
regions: [gb]
week: -1
wday: 1
year_ranges:
until: 2021
- name: Bank Holiday
regions: [gb]
week: -1
wday: 1
year_ranges:
from: 2023
6:
- name: Bank Holiday
regions: [gb]
mday: 2
year_ranges:
limited: [2022]
- name: Platinum Jubilee
regions: [gb]
mday: 3
year_ranges:
limited: [2022]
7:
- name: Tynwald Day
regions: [im, gb_iom]
Expand Down Expand Up @@ -456,3 +475,23 @@ tests:
regions: ["je"]
expect:
name: "Bank Holiday"
- given:
date: '2022-06-02'
regions: ["gb"]
expect:
name: "Bank Holiday"
- given:
date: '2022-05-30'
regions: ["gb"]
expect:
holiday: false
- given:
date: '2022-06-03'
regions: ["gb"]
expect:
name: "Platinum Jubilee"
- given:
date: '2023-05-29'
regions: ["gb"]
expect:
name: "Bank Holiday"

0 comments on commit 4087b4b

Please sign in to comment.