Skip to content

Commit

Permalink
Merge branch 'develop' into remove-summerwintertime
Browse files Browse the repository at this point in the history
  • Loading branch information
stelgenhof committed Oct 14, 2023
2 parents ca8574b + 893a7f9 commit 5f213a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Yasumi/Provider/Japan.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ private function calculateVernalEquinoxDay(): void
private function calculateComingOfAgeDay(): void
{
if ($this->year >= 1948) {
$date = ($this->year >= 2000) ?
$date = $this->year >= 2000 ?
new \DateTime("second monday of january {$this->year}", DateTimeZoneFactory::getDateTimeZone($this->timezone)) :
new \DateTime("{$this->year}-1-15", DateTimeZoneFactory::getDateTimeZone($this->timezone));

Expand Down

0 comments on commit 5f213a7

Please sign in to comment.