Skip to content

Commit

Permalink
Merge pull request #262 from ppeble/ppeble-fix-au-and-gb-bug
Browse files Browse the repository at this point in the history
Bug fixes for v5.6.2
  • Loading branch information
ppeble authored Dec 26, 2023
2 parents 716a72d + 6445f54 commit d60d161
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Holiday definitions

## 5.6.2

* Fix tests for `gb` coronation of King Charles
* Fix spacing for `au` defs
* Fix `au_act` reconciliation day

## 5.6.1

* Fix `de` holiday for 'Tag der Deutschen Einheit' to correctly use `year_ranges` syntax

## 5.6.0

* Update `ca`, `ca_bc, `ca_nt, `ca_pe`, ca_yt` for national truth and reconciliation day (thanks to https://github.com/danger-ranger)
* Update `ca`, `ca_bc, `ca_nt, `ca_pe`, `ca_yt` for national truth and reconciliation day (thanks to https://github.com/danger-ranger)
* Update `au_act` with reconcilation day (thanks to https://github.com/mylestan)
* Update `lv` with ice hockey team bronze medal holiday (thanks to https://github.com/aleksandrs-ledovskis)
* Update `fr` region for Pentecote (thanks to https://github.com/skalimer0)
Expand Down
2 changes: 1 addition & 1 deletion au.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ months:
regions: [au_sa]
function: may_pub_hol_sa(year)
- name: Reconciliation Day
mday: 27
regions: [au_act]
function: to_nearest_monday_after(date)
year_ranges:
Expand Down Expand Up @@ -307,7 +308,6 @@ methods:
when 0
date += 1
end
date
tests:
Expand Down
4 changes: 2 additions & 2 deletions gb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ months:
mday: 8
year_ranges:
limited: [2020]
- name: Bank holiday for the coronation of King Charles III
- name: Bank Holiday for the Coronation of King Charles III
regions: [gb]
mday: 8
year_ranges:
Expand Down Expand Up @@ -562,4 +562,4 @@ tests:
date: '2023-05-08'
regions: ["gb"]
expect:
name: "Bank holiday for the coronation of King Charles III"
name: "Bank Holiday for the Coronation of King Charles III"

0 comments on commit d60d161

Please sign in to comment.