From 83354b2b88218090988dd6e526b0a2505b57e0f1 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 6 Apr 2023 22:18:28 +0200 Subject: Updated 5 files and added 1110 files (automated) --- pages/schedules.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pages/schedules.inc') 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()); } -- cgit