fix last updated column

master
BuildTools 4 years ago
parent ca2e535997
commit 0e2cc09cbb
  1. 2
      js/title_list.js

@ -104,7 +104,7 @@ function load_titles(remote) {
//time since last update //time since last update
second_row.appendChild(Object.assign( second_row.appendChild(Object.assign(
document.createElement("td"), document.createElement("td"),
{textContent: "(" + "ago)"} {textContent: Math.floor(((Date.now()/1000) - manga["last_updated"])/3600).toString() + " hours ago"}
)); ));
}); });
}); });

Loading…
Cancel
Save