Skip to content

Commit

Permalink
Merge pull request #29 from wandersonwhcr/fix/whitespaces
Browse files Browse the repository at this point in the history
Remove whitespaces
  • Loading branch information
FlorianKoerner authored Apr 4, 2018
2 parents 5b3b59b + 64db086 commit 45d842d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Provider/LT.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class LT extends AbstractEaster
public function getHolidaysByYear($year)
{
$easter = $this->getEasterDates($year);

$mothersDay = date('m-d', strtotime('first Sunday of May '. $year));
$fathersDay = date('m-d', strtotime('first Sunday of June '. $year));

$holidays = array(
'01-01' => $this->createData('Naujieji metai'),
'02-16' => $this->createData('Lietuvos valstybės atkūrimo diena'),
Expand All @@ -41,7 +41,7 @@ public function getHolidaysByYear($year)
// floating days
$mothersDay => $this->createData('Motinos diena'),
$fathersDay => $this->createData('Tėvo diena'),

// Easter dates
$easter['easterSunday']->format(self::DATE_FORMAT) => $this->createData('Velykos'),
);
Expand Down
2 changes: 1 addition & 1 deletion src/Provider/LV.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function getHolidaysByYear($year)
'12-25' => $this->createData('Ziemassvētki'),
'12-26' => $this->createData('Otrie Ziemassvētki'),
'12-31' => $this->createData('Vecgada vakars'),

// Easter dates
$easter['goodFriday']->format(self::DATE_FORMAT) => $this->createData('Lielā Piektdiena'),
$easter['easterSunday']->format(self::DATE_FORMAT) => $this->createData('Lieldienas'),
Expand Down

0 comments on commit 45d842d

Please sign in to comment.