Browse Source

red stats2

amic 11 months ago
parent
commit
85bc3c7041
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/manager/views/stats/index.php

+ 1 - 1
modules/manager/views/stats/index.php

@@ -11,7 +11,7 @@
 	$m = $m<10?"0$m":$m;
 	$d = $d<10?"0$d":$d;
 	$b_date = date("Y-".$m."-01 00:00:00");
-	$e_date = date("Y-".$m."-".$d."  23:59:59");
+	$e_date = date("Y-".$m."-".$d."  H:i:59");
 	//$newsonmath
 	$cmd = Yii::$app->db->createCommand("select count(id) as c, DATE_FORMAT(dt_pub, '%d') as day from news where `dt_pub` BETWEEN '".$b_date."' AND '".$e_date."' and active = 'Y' group by day")->queryAll();
 	$newsonday = '';