From d2a3ba3eecf564394559e41513a5c2f86331553f Mon Sep 17 00:00:00 2001 From: Phil Peble Date: Sat, 16 May 2026 02:31:27 -0500 Subject: [PATCH] Fix Luxembourg Whit Monday off-by-one (easter+50, not +49) Signed-off-by: Phil Peble --- lu.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lu.yaml b/lu.yaml index 7595e512..cd0d3aa4 100644 --- a/lu.yaml +++ b/lu.yaml @@ -1,8 +1,9 @@ # Luxembourg holiday definitions for the Ruby Holiday gem. # -# Updated: 2020-01-21. +# Updated: 2026-05-16. # Sources: # - https://en.wikipedia.org/wiki/Public_holidays_in_Luxembourg +# - https://luxembourg.public.lu/en/living/quality-of-life/jours-feries-legaux.html --- months: 0: @@ -14,10 +15,11 @@ months: regions: [lu] function: easter(year) function_modifier: 39 + # Whit Monday is the day after Pentecost, i.e. Easter Sunday + 50 days. - name: Péngschtméindeg regions: [lu] function: easter(year) - function_modifier: 49 + function_modifier: 50 1: - name: Neijoerschdag regions: [lu] @@ -101,7 +103,7 @@ tests: expect: name: "Stiefesdag" - given: - date: '2008-05-11' + date: '2008-05-12' regions: ["lu"] options: ["informal"] expect: