Skip Menu |

This queue is for tickets about the Date-Holidays-FR CPAN distribution.

Report information
The Basics
Id: 122022
Status: resolved
Priority: 0/
Queue: Date-Holidays-FR

People
Owner: J2N-FORGET [...] orange.fr
Requestors: SULLETF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: 0.03



Subject: Lundi de paques when paques is march 31st
Hello, when Easter is on March 31st (e.g. in 2013, 2002, ...), the "lundi de paques" is on April 1st, fine. Running is_fr_holiday(2013, 1, 1) returns ''. It should return "Lundi de pâques". This is because of code line if ($day == ($easter_day + 1) and $month == $easter_month) { return "Lundi de pâques"; } more precisely test $day == ($easter_day + 1) where $easter_day + 1 = 32 when Easter is on 31st March Fred