1
0
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:
Sherif Ramadan
2013-11-22 20:05:18 -05:00
parent 64b7737ac4
commit e939201949

View File

@@ -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...';
}