Skip to content

Commit

Permalink
Merge pull request #11 from fatelgit/patch-1
Browse files Browse the repository at this point in the history
Update CarbonGermanHolidays.php
  • Loading branch information
micronax authored May 3, 2023
2 parents 52b1448 + bedbb65 commit 1f1ca1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fgits/CarbonGermanHolidays/CarbonGermanHolidays.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ public static function getHolidays($year, $states = self::ALL_STATES)
$holidays['1. Weihnachtstag'] = mktime(0, 0, 0, 12, 25, $year);
$holidays['2. Weihnachtstag'] = mktime(0, 0, 0, 12, 26, $year);

if (in_array(self::BERLIN, $states)) {
if (array_intersect([self::BERLIN, self::MECKLENBURG_VORPOMMERN], $states)) {
$holidays['Internationaler Frauentag'] = mktime(0, 0, 0, 3, 8, $year);
}

if (in_array(self::BRANDENBURG, $states)) {
$holidays['Ostersonntag'] = $easterSunday;
$holidays['Pfingstsonntag'] = strtotime('+49 days', $easterSunday);
Expand Down

0 comments on commit 1f1ca1f

Please sign in to comment.