Fix seconds validity check

This commit is contained in:
ShadowNinja
2014-06-30 23:29:29 -04:00
parent 84788757c5
commit bdb60b7bde

View File

@@ -7,7 +7,7 @@ if (!master.list_root) master.list_root = master.root;
if (!master.list_url) master.list_url = master.list_root + master.list;
function humanTime(seconds) {
if (!seconds) return '?';
if (typeof(seconds) != "number") return '?';
var conv = {
y: 31536000,
d: 86400,