* Fix substr with week date,bug#40963.

This commit is contained in:
qixinzhi
2023-11-30 16:49:36 +08:00
parent d4ab0df07a
commit 22a5299272
-4
View File
@@ -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');