From 983053cdc551ba692a08287651d7e62dbf647450 Mon Sep 17 00:00:00 2001 From: infinite-monkeys Date: Sun, 14 Dec 2014 13:32:53 -0800 Subject: [PATCH] Display UTC as server time instead of PDT --- index.html | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 9acd8eb..2eaad97 100644 --- a/index.html +++ b/index.html @@ -35,7 +35,7 @@


-

(US Pacific Time)
+

(UTC)
diff --git a/index.js b/index.js index 0c59eaf..2d5f370 100644 --- a/index.js +++ b/index.js @@ -45,7 +45,7 @@ function refreshall () { var j = 0; while(json.worldboss[i].uptime[j]) { sec = str2sec(json.worldboss[i].uptime[j]); - lsec = sec + ((7 + getTimezone()) * 3600) + lsec = sec + (getTimezone() * 3600) if (lsec >= 86400) lsec -= 86400; if (lsec < 0) lsec += 86400; var tname = (json.worldboss[i].name[clang]?json.worldboss[i].name[clang]:json.worldboss[i].name.en);