Skip to content

Commit

Permalink
[Temporal] stylistic cleanup; no functional changes
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Oct 18, 2010
1 parent d357695 commit 7c90370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Temporal.pm
Expand Up @@ -18,8 +18,8 @@ role Dateish {
method daycount-from-ymd($y is copy, $m is copy, $d) {
# taken from <http://www.merlyn.demon.co.uk/daycount.htm>
$y .= Int;
$m .= Int;
if ($m < 3) {
$m .= Int;
if $m < 3 {
$m += 12;
--$y;
}
Expand Down

0 comments on commit 7c90370

Please sign in to comment.