* change burn report UI.

This commit is contained in:
Catouse
2015-05-11 17:05:14 +08:00
parent bd44b3479c
commit 70e1004102
7 changed files with 53 additions and 22 deletions
+2 -2
View File
@@ -1535,7 +1535,7 @@ class projectModel extends model
* @access public
* @return array
*/
public function getDateList($begin, $end, $type, $interval = '')
public function getDateList($begin, $end, $type, $interval = '', $format = 'm/d/Y')
{
$begin = strtotime($begin);
$end = strtotime($end);
@@ -1575,7 +1575,7 @@ class projectModel extends model
}
$counter = 0;
$dateList[] = date('m/d/Y', $date);
$dateList[] = date($format, $date);
$date += 24 * 3600;
}