From 525a038c482e2f42e22835c2028efe28260fee97 Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Wed, 12 Jun 2024 23:59:33 +0100 Subject: [PATCH] datetime format --- apps/static/js/home/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/static/js/home/content.js b/apps/static/js/home/content.js index cff0159..d2c68f3 100644 --- a/apps/static/js/home/content.js +++ b/apps/static/js/home/content.js @@ -56,7 +56,7 @@ function initContentTable() { title: "Created", data: "creation_datetime", render: function(data, type) { - return new Date(data).toISOString().split("T")[0]; + return `${new Date(data).toISOString().replace('T', ' ยท ').replace(/\.\d+Z$/, '')}`; } }, ]