Skip to content

Commit

Permalink
Changing --$years to $years-- in src/I18n/RelativeTimeFormatter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Theaxiom committed Apr 17, 2017
1 parent f8e73a2 commit 3880183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/I18n/RelativeTimeFormatter.php
Expand Up @@ -231,7 +231,7 @@ protected function _diffData($futureTime, $pastTime, $backwards, $options)
}

if ($months >= 12) {
++$years;
$years++;
$months = $months - 12;
}

Expand Down

0 comments on commit 3880183

Please sign in to comment.