Skip to content

Commit

Permalink
update Shia year
Browse files Browse the repository at this point in the history
  • Loading branch information
mbpcoder authored May 11, 2021
1 parent dbb4e09 commit c0aae22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Calendars/ShiaCalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function daysInMonth($year, $month)
1439 => [29, 30, 30, 30, 30, 29, 30, 29, 29, 30, 29, 29],
1440 => [30, 29, 30, 30, 30, 29, 29, 30, 29, 30, 29, 29],
1441 => [29, 30, 29, 30, 30, 29, 30, 30, 29, 30, 29, 30],
1442 => [29, 29, 30, 29, 30, 29, 30, 30, 30, 29, 30, 29],
1442 => [29, 29, 30, 29, 30, 29, 30, 30, 29, 30, 30, 29],
];

if ($month < 1 || $month > 12) {
Expand All @@ -96,4 +96,4 @@ public function isLeap($year)

return $isLeap;
}
}
}

0 comments on commit c0aae22

Please sign in to comment.