mirror of https://github.com/CIRCL/lookyloo
fix: Missing day in hostnames view
parent
e7cd9e50fe
commit
fff78fb2e9
|
@ -14,7 +14,7 @@
|
|||
"targets": 0,
|
||||
"render": function ( data, type, row, meta ) {
|
||||
let date = new Date(data);
|
||||
return date.getFullYear() + '-' + (date.getMonth() + 1).toString().padStart(2, "0") + '-' + date.toTimeString();
|
||||
return date.getFullYear() + '-' + (date.getMonth() + 1).toString().padStart(2, "0") + '-' + date.getDate().toString().padStart(2, "0") + ' ' + date.toTimeString();
|
||||
}
|
||||
}]
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue