mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Fix another EOL date bug. Wrong values for the periods.
This commit is contained in:
4
eol.php
4
eol.php
@@ -50,9 +50,9 @@ site_header('Unsupported Branches');
|
||||
$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...';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user