From b91c43f186414c87cd93ead9d8111707b3ac9565 Mon Sep 17 00:00:00 2001 From: zhetic <> Date: Sat, 22 May 2021 14:49:06 +0300 Subject: [PATCH] removed search script --- js/chapter_list.js | 4 ++-- search.html | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/js/chapter_list.js b/js/chapter_list.js index e3cc920..fbc2638 100644 --- a/js/chapter_list.js +++ b/js/chapter_list.js @@ -36,10 +36,10 @@ function load_info(remote, id) { document.createElement("p"), {textContent: "Status: " + manga["publication_status"]} )); - + var date = new Date(1000 * manga["last_updated"]) text.appendChild(Object.assign( document.createElement("p"), - {textContent: "Last Updated: " + manga["last_updated"]} + {textContent: "Last Updated: "+date.toLocaleTimeString("en-US")+" "+date.toLocaleDateString("en-US")} )); var tags = document.createElement("p"); diff --git a/search.html b/search.html index 16f405f..74fba1b 100644 --- a/search.html +++ b/search.html @@ -71,15 +71,15 @@ - -