From a451f1ecf77aeaa6e435b812afcdcd9ebffdadf5 Mon Sep 17 00:00:00 2001 From: Andy Smy <47543767+AndySmee@users.noreply.github.com> Date: Sat, 10 May 2025 09:08:11 +0100 Subject: [PATCH] Update app.js Corrected sign of timezoneOffsetHours --- apps/umpire/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/umpire/app.js b/apps/umpire/app.js index ab27406d0..3c139c2ea 100644 --- a/apps/umpire/app.js +++ b/apps/umpire/app.js @@ -68,7 +68,7 @@ function showLog() { } function formatDuration(timeDate) { - return (timeDate.getHours()-timezoneOffsetHours) + ":" + timeDate.getMinutes().toString().padStart(2, "0") + ":" + timeDate.getSeconds().toString().padStart(2, "0") + ""; + return (timeDate.getHours() + timezoneOffsetHours) + ":" + timeDate.getMinutes().toString().padStart(2, "0") + ":" + timeDate.getSeconds().toString().padStart(2, "0") + ""; } function formatTimeOfDay(timeSig) {