diff --git a/src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php b/src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php index 1ceefad..dc5da48 100644 --- a/src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php +++ b/src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php @@ -186,6 +186,13 @@ public static function getHolidays($year, $states = self::ALL_STATES) $holidays['Allerheiligen'] = mktime(0, 0, 0, 11, 1, $year); } + if (in_array(self::THUERINGEN, $states)) { + // Weltkindertag is since 2019 holiday in thueringen + if($year >= 2019) { + $holidays['Weltkindertag'] = mktime(0, 0, 0, 9, 20, $year); + } + } + if (in_array(self::CHRISTMAS_DAYS, $states)) { $holidays['1. Advent'] = strtotime('+11 days', $penanceDay); $holidays['2. Advent'] = strtotime('+18 days', $penanceDay);