From ff59adfee1b94e899fa9861d9049582f40c1e85c Mon Sep 17 00:00:00 2001 From: 20xd6 Date: Sat, 11 Apr 2020 13:29:49 -0400 Subject: [PATCH] Further cleanup of the timezone and timezone offset display. --- clock.js | 3 +-- clock.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/clock.js b/clock.js index d255d20..6132016 100644 --- a/clock.js +++ b/clock.js @@ -33,7 +33,6 @@ function startTime(){ year:'numeric', hour:'2-digit', minute:'2-digit', - second:'2-digit', - timeZoneName:'short'}); + second:'2-digit',}); document.getElementById('JStz').innerHTML = current_tz; } diff --git a/clock.php b/clock.php index 86b4149..aaf63a8 100644 --- a/clock.php +++ b/clock.php @@ -42,7 +42,7 @@ "
". "

". date("D, M d, Y, H:i:s") . - date(" T")."

GMT". date("O") ."

\n\t\t
"; + "

GMT". date("O T") ."

\n\t\t"; ?>

@@ -57,7 +57,7 @@