diff options
author | RaindropsSys <contact@minteck.org> | 2023-04-06 22:18:28 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-04-06 22:18:28 +0200 |
commit | 83354b2b88218090988dd6e526b0a2505b57e0f1 (patch) | |
tree | e3c73c38a122a78bb7e66fbb99056407edd9d4b9 /pages/schedules.inc | |
parent | 47b8f2299a483024c4a6a8876af825a010954caa (diff) | |
download | pluralconnect-83354b2b88218090988dd6e526b0a2505b57e0f1.tar.gz pluralconnect-83354b2b88218090988dd6e526b0a2505b57e0f1.tar.bz2 pluralconnect-83354b2b88218090988dd6e526b0a2505b57e0f1.zip |
Updated 5 files and added 1110 files (automated)
Diffstat (limited to 'pages/schedules.inc')
-rw-r--r-- | pages/schedules.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pages/schedules.inc b/pages/schedules.inc index bff1822..fae5984 100644 --- a/pages/schedules.inc +++ b/pages/schedules.inc @@ -160,7 +160,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/composer/ical/ical.php"; let time1 = (new Intl.DateTimeFormat('en-US', { timeZone: 'Europe/Paris', hour: 'numeric', - minute: 'numeric', + minute: '2-digit', hour12: true })).format(new Date()); @@ -170,7 +170,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/composer/ical/ical.php"; let time2 = (new Intl.DateTimeFormat('en-US', { timeZone: 'Europe/London', hour: 'numeric', - minute: 'numeric', + minute: '2-digit', hour12: true })).format(new Date()); @@ -180,7 +180,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/composer/ical/ical.php"; let time3 = (new Intl.DateTimeFormat('en-US', { timeZone: 'America/Chicago', hour: 'numeric', - minute: 'numeric', + minute: '2-digit', hour12: true })).format(new Date()); @@ -190,13 +190,13 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/composer/ical/ical.php"; document.getElementById("live-time-other1").innerText = (new Intl.DateTimeFormat('en-US', { timeZone: 'America/Anchorage', hour: 'numeric', - minute: 'numeric', + minute: '2-digit', hour12: true })).format(new Date()); document.getElementById("live-time-other2").innerText = (new Intl.DateTimeFormat('en-US', { timeZone: 'America/Vancouver', hour: 'numeric', - minute: 'numeric', + minute: '2-digit', hour12: true })).format(new Date()); } |