From 2f2803a775168c3a342bf7abb4ddee8c19eedb17 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Sun, 11 Jan 2015 11:54:17 +0000 Subject: [PATCH] Fix UTC clock display in non-UTC timezones. --- debian/changelog | 6 ++++++ public_html/script.js | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2697a01..944f103 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dump1090-mutability (1.10.3010.14mu-11) UNRELEASED; urgency=medium + + * Fix UTC clock display in non-UTC timezones. + + -- Oliver Jowett Sun, 11 Jan 2015 11:53:48 +0000 + dump1090-mutability (1.10.3010.14mu-10) unstable; urgency=medium * Many changes to aircraft.json and the webserver code: diff --git a/public_html/script.js b/public_html/script.js index d775ce7..0002acf 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -120,7 +120,7 @@ function initialize() { skinId: "classic", displayRadius: 40, showSecondHand: true, - gmtOffset: 0, + gmtOffset: "0", // this has to be a string! showDigital: false, logClock: false, logClockRev: false @@ -131,7 +131,7 @@ function initialize() { skinId: "classic", displayRadius: 40, showSecondHand: true, - gmtOffset: 0, + gmtOffset: null, showDigital: false, logClock: false, logClockRev: false