From 3aca2a54160f0e489a4df1d7b8a51a1ece3ad6b5 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Fri, 2 Nov 2012 00:35:42 +0000 Subject: [PATCH] * change date('Y-m-j') to date('Y-m-d'). --- module/my/view/todo.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/my/view/todo.html.php b/module/my/view/todo.html.php index aca3fdccee..3fadb48b7f 100644 --- a/module/my/view/todo.html.php +++ b/module/my/view/todo.html.php @@ -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'; }