Commit 59426d4a authored by jym503558564's avatar jym503558564

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

parent 875a069a
...@@ -1110,6 +1110,7 @@ function objectAttrsIsBool(obj, attrs) { ...@@ -1110,6 +1110,7 @@ function objectAttrsIsBool(obj, attrs) {
} }
function cleanDate(d) { function cleanDate(d) {
if (typeof d === 'number'){return d}
for (var i=0; i<2; i++) { for (var i=0; i<2; i++) {
if (isNaN(Date.parse(d))) { if (isNaN(Date.parse(d))) {
d = d.split('+')[0].trimRight(); d = d.split('+')[0].trimRight();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment