modificate date in statCustom
This commit is contained in:
@@ -25,8 +25,8 @@ $end = time();
|
||||
$action = PostHandler::get("action");
|
||||
if (!is_null($action) && strcmp($action, "show")==0){
|
||||
$showGraph = true;
|
||||
$start = strtotime(PostHandler::get("start"));
|
||||
$end = strtotime(PostHandler::get("end"));
|
||||
$start = strtotime(PostHandler::get("start")." 00:01");
|
||||
$end = strtotime(PostHandler::get("end")." 23:59");
|
||||
}
|
||||
?>
|
||||
<div>
|
||||
@@ -44,6 +44,7 @@ if (!is_null($action) && strcmp($action, "show")==0){
|
||||
<div id="statContainer"></div>
|
||||
<?php
|
||||
if ($showGraph){
|
||||
|
||||
$result = GlobalVariables::get("dao")->aggregate("StatisticModel",PipelineHelper::getDailyVisualizationPipelineByStartAndEnd($start,$end));
|
||||
for ($i=0; $i<sizeof($result); $i++){
|
||||
$ele = $result[$i];
|
||||
|
||||
Reference in New Issue
Block a user