Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
At least temporary fix for RT #127161
Which is really caused by RT #127168
  • Loading branch information
lizmat committed Jan 5, 2016
1 parent 4b443f2 commit d80c728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Date.pm
Expand Up @@ -83,7 +83,7 @@ my class Date does Dateish {
self.new-from-daycount(self.daycount + $multiplier * $amount )
}
elsif $unit.starts-with('month') {
my int $month = $!month;
my Int $month = $!month; # cannot be native because of RT #127168
my int $year = $!year;
$month += $amount;
$year += floor(($month - 1) / 12);
Expand Down

0 comments on commit d80c728

Please sign in to comment.