Skip to content

Commit b6e3742

Browse files
Merge pull request #35 from classifieds-maciej/master
Add Polish holiday - Zielone Światki
2 parents a4f4101 + 2330caf commit b6e3742

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Provider/PL.php

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function getHolidaysByYear($year)
3434
$easter['easterSunday']->format(self::DATE_FORMAT) => $this->createData('Wielkanoc'),
3535
$easter['easterMonday']->format(self::DATE_FORMAT) => $this->createData('Poniedziałek Wielkanocny'),
3636
$easter['corpusChristi']->format(self::DATE_FORMAT) => $this->createData('Boże Ciało'),
37+
$easter['pentecostSunday']->format(self::DATE_FORMAT) => $this->createData('Zielone Świątki'),
3738
);
3839
}
3940
}

test/Provider/PLTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ public function dateProvider()
3838
array('2015-05-01', null, array('name' => 'Święto Pracy')),
3939
array('2016-12-26', null, array('name' => 'Drugi dzień Bożego Narodzenia')),
4040
array('2016-08-15', null, array('name' => 'Wniebowzięcie Najświętszej Maryi Panny')),
41+
array('2019-06-09', null, array('name' => 'Zielone Świątki')),
42+
array('2020-05-31', null, array('name' => 'Zielone Świątki')),
4143
);
4244
}
4345
}

0 commit comments

Comments
 (0)