datetime format
This commit is contained in:
parent
7cd1c9bdce
commit
525a038c48
@ -56,7 +56,7 @@ function initContentTable() {
|
|||||||
title: "Created",
|
title: "Created",
|
||||||
data: "creation_datetime",
|
data: "creation_datetime",
|
||||||
render: function(data, type) {
|
render: function(data, type) {
|
||||||
return new Date(data).toISOString().split("T")[0];
|
return `<small>${new Date(data).toISOString().replace('T', ' · ').replace(/\.\d+Z$/, '')}</small>`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user