From 6445f54f84126dd8c8f9c17f232da301881977d8 Mon Sep 17 00:00:00 2001 From: Phil Peble Date: Thu, 14 Dec 2023 01:32:05 -0600 Subject: [PATCH] Bug fixes for v5.6.2 --- CHANGELOG.md | 8 +++++++- au.yaml | 2 +- gb.yaml | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84b2ab8..d914229 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/au.yaml b/au.yaml index 6d63dda..a5657fe 100644 --- a/au.yaml +++ b/au.yaml @@ -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: @@ -307,7 +308,6 @@ methods: when 0 date += 1 end - date tests: diff --git a/gb.yaml b/gb.yaml index 64e3de8..4def174 100644 --- a/gb.yaml +++ b/gb.yaml @@ -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: @@ -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"