diff --git a/src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php b/src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php index bde4ea4..81ba4b1 100644 --- a/src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php +++ b/src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php @@ -140,7 +140,7 @@ public static function getHolidays($year, $states = self::ALL_STATES) $states = [$states]; } - $penanceDay = mktime(0, 0, 0, 11, 22 - ($year - 1 + ((int)((int)($year / 4)) % 7)), $year); + $penanceDay = date('Y-m-d', strtotime("-40 days", $easterSunday)); // For all states