From 22a5299272dd8b97fb989e52c621c19ba0dbcba5 Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Thu, 30 Nov 2023 16:49:36 +0800 Subject: [PATCH] * Fix substr with week date,bug#40963. --- module/metric/model.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/module/metric/model.php b/module/metric/model.php index 04ff1d5e65..e73d399e3a 100755 --- a/module/metric/model.php +++ b/module/metric/model.php @@ -1399,10 +1399,6 @@ class metricModel extends model }); $xTime = array_column($data, $x); - foreach($xTime as $key => $time) - { - $xTime[$key] = substr($time, 0, 10); - } $xAxis = array('type' => 'category', 'data' => $xTime); $yAxis = array('type' => 'value');