From e7eae6e4395bf3b886b85ec1ea36a0680178b53f Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 2 Nov 2009 03:16:26 +0000 Subject: [PATCH] * change the default value of buildDateList() method. --- trunk/module/todo/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/module/todo/model.php b/trunk/module/todo/model.php index 1a4fcedb7a..1daf08e484 100644 --- a/trunk/module/todo/model.php +++ b/trunk/module/todo/model.php @@ -105,7 +105,7 @@ class todoModel extends model } /* 生成日期列表。*/ - public function buildDateList($before = 3, $after = 3) + public function buildDateList($before = 7, $after = 7) { $today = strtotime(date('Y-m-d', time())); $delta = 60 * 60 * 24;