fix:抽取时区计算方法

This commit is contained in:
wangwenrui
2020-09-07 11:43:45 +08:00
parent 85500a53e9
commit 7e3c1683b1
9 changed files with 26 additions and 28 deletions

View File

@@ -334,7 +334,7 @@
let str = `<div>`;
params.forEach((item, i) => {
if(i===0){
let value=bus.computeTimezone(item.data[0])
let value=item.data[0]
let t_date = new Date(value);
str += [t_date.getFullYear(), t_date.getMonth() + 1, t_date.getDate()].join('-') + " "
+ [t_date.getHours(), t_date.getMinutes(),t_date.getSeconds()].join(':');