Skip to content

Commit

Permalink
Merge pull request #249 from LarsDK/master
Browse files Browse the repository at this point in the history
Store Bededag is no more in dk. Last one is on May 5, 2023. Added tes…
  • Loading branch information
ppeble authored Dec 6, 2023
2 parents b13ff94 + 3eca7a2 commit 08b861d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ months:
regions: [dk]
function: easter(year)
function_modifier: 26
year_ranges:
until: 2023
- name: Kristi Himmelfartsdag
regions: [dk]
function: easter(year)
Expand Down Expand Up @@ -110,6 +112,16 @@ months:
mday: 26

tests:
- given:
date: '2023-05-05'
regions: ["dk"]
expect:
name: "Store Bededag"
- given:
date: '2024-04-26'
regions: ["dk"]
expect:
holiday: false
- given:
date: '2007-01-01'
regions: ["dk"]
Expand Down

0 comments on commit 08b861d

Please sign in to comment.