mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
Merge pull request #2959 from jumpserver/command_list_html_bug
[Bugfix] 修复命令记录页面的时间转换bug
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user