* change the default value of buildDateList() method.

This commit is contained in:
wangchunsheng
2009-11-02 03:16:26 +00:00
parent e59e2f54ed
commit e7eae6e439

View File

@@ -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;