Update common.js

This commit is contained in:
Orange
2020-08-20 12:04:51 +08:00
committed by 老广
parent ecae504a80
commit 58505d2b50

View File

@@ -73,7 +73,6 @@ function cleanDateStr(d) {
}
export function toSafeLocalDateStr(d) {
console.log(d)
const date = safeDate(d)
// let date_s = date.toLocaleString(getUserLang(), {hour12: false});
const date_s = date.toLocaleString(getUserLang(), { hourCycle: 'h23' })