mirror of https://github.com/jumpserver/jumpserver
[Bugfix] 修复命令记录页面的时间转换bug
parent
875a069a18
commit
59426d4aa9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue