From 0e2cc09cbbb404a3d30e2321ca8a2205f86bff80 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 1 Jun 2021 12:51:41 -0400 Subject: [PATCH] fix last updated column --- js/title_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/title_list.js b/js/title_list.js index 2d6f504..da52b2a 100644 --- a/js/title_list.js +++ b/js/title_list.js @@ -104,7 +104,7 @@ function load_titles(remote) { //time since last update second_row.appendChild(Object.assign( document.createElement("td"), - {textContent: "(" + "ago)"} + {textContent: Math.floor(((Date.now()/1000) - manga["last_updated"])/3600).toString() + " hours ago"} )); }); });