Skip to content

Commit

Permalink
Merge pull request #35 from classifieds-maciej/master
Browse files Browse the repository at this point in the history
Add Polish holiday - Zielone Światki
  • Loading branch information
FlorianKoerner authored Aug 17, 2018
2 parents a4f4101 + 2330caf commit b6e3742
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Provider/PL.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function getHolidaysByYear($year)
$easter['easterSunday']->format(self::DATE_FORMAT) => $this->createData('Wielkanoc'),
$easter['easterMonday']->format(self::DATE_FORMAT) => $this->createData('Poniedziałek Wielkanocny'),
$easter['corpusChristi']->format(self::DATE_FORMAT) => $this->createData('Boże Ciało'),
$easter['pentecostSunday']->format(self::DATE_FORMAT) => $this->createData('Zielone Świątki'),
);
}
}
2 changes: 2 additions & 0 deletions test/Provider/PLTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public function dateProvider()
array('2015-05-01', null, array('name' => 'Święto Pracy')),
array('2016-12-26', null, array('name' => 'Drugi dzień Bożego Narodzenia')),
array('2016-08-15', null, array('name' => 'Wniebowzięcie Najświętszej Maryi Panny')),
array('2019-06-09', null, array('name' => 'Zielone Świątki')),
array('2020-05-31', null, array('name' => 'Zielone Świątki')),
);
}
}

0 comments on commit b6e3742

Please sign in to comment.