diff --git a/src/Verta.php b/src/Verta.php index e9eee39..a704d56 100755 --- a/src/Verta.php +++ b/src/Verta.php @@ -2200,7 +2200,10 @@ class Verta extends DateTime { $year += intval($month / 12) - 1; $month = 12 + ($month % 12); } - + if($month == 0) { + $year--; + $month = 12; + } if (($month > 6 && $month < 12 && $day == 31)) { $day--; }