* change date('Y-m-j') to date('Y-m-d').

This commit is contained in:
zhujinyong
2012-11-02 00:35:42 +00:00
parent a910d345ae
commit 3aca2a5416

View File

@@ -37,7 +37,7 @@
{
$type = 'today';
}
else if($date == date('Y-m-j', strtotime('-1 day')))
else if($date == date('Y-m-d', strtotime('-1 day')))
{
$type = 'yesterday';
}