新版google chrome浏览器问题
2020-09-08 本文已影响0人
Ordinary_zz
let time = 1599494401
let data = new Date(time * 1000).toLocaleString('chinese',{ hour12: false })
console.log(data) // "2020/9/8 24:00:01"
并不是整点数据
let time = 1599494401
let data = new Date(time * 1000).toLocaleString('chinese',{ hour12: false })
console.log(data) // "2020/9/8 24:00:01"
并不是整点数据