Skip to content

Commit

Permalink
Fix another EOL date bug. Wrong values for the periods.
Browse files Browse the repository at this point in the history
  • Loading branch information
srgoogleguy committed Nov 23, 2013
1 parent 64b7737 commit e939201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eol.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
$times[] = array($diff->m,'month');
}
} elseif ($diff->m) {
$times[] = array($diff->m,'year');
$times[] = array($diff->m,'month');
} elseif ($diff->d) {
$times[] = array($diff->d,'year');
$times[] = array($diff->d,'day');
} else {
$eolPeriod = 'moments ago...';
}
Expand Down

0 comments on commit e939201

Please sign in to comment.