[Bugfix] 修复命令记录页面的时间转换bug

pull/2959/head
jym503558564 2019-07-16 12:01:09 +08:00
parent 875a069a18
commit 59426d4aa9
1 changed files with 1 additions and 0 deletions

View File

@ -1110,6 +1110,7 @@ function objectAttrsIsBool(obj, attrs) {
}
function cleanDate(d) {
if (typeof d === 'number'){return d}
for (var i=0; i<2; i++) {
if (isNaN(Date.parse(d))) {
d = d.split('+')[0].trimRight();