NEZ-598 alert message 页面修改
This commit is contained in:
@@ -287,7 +287,7 @@ export function stringTimeParseToUnix (stringTime) {
|
||||
offset = moment.tz(offset).format('Z')
|
||||
offset = Number.parseInt(offset)
|
||||
const localOffset = new Date().getTimezoneOffset() * 60 * 1000 * -1 // 默认 一分钟显示时区偏移的结果
|
||||
console.log(offset,localOffset, time)
|
||||
// console.log(offset,localOffset, time)
|
||||
time = time + localOffset - offset * 60 * 60 * 1000
|
||||
return time / 1000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user