From 43cbf8d7ff3aaa261e324b89dc9fca38d5eadcc3 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 30 Jan 2026 10:15:06 -0600 Subject: [PATCH] Website: fix event times on GitOps workshops page (#39067) Changes: - Updated the view action for the /gitops-workshop page to use UTC timestamps when building the event details for that page. --- website/api/controllers/landing-pages/view-gitops-workshop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/api/controllers/landing-pages/view-gitops-workshop.js b/website/api/controllers/landing-pages/view-gitops-workshop.js index cd5c3ef6e9..33b604aedf 100644 --- a/website/api/controllers/landing-pages/view-gitops-workshop.js +++ b/website/api/controllers/landing-pages/view-gitops-workshop.js @@ -50,8 +50,8 @@ module.exports = { // Convert the ISO timestamps that represent the start and end time of the event into a formatted string. // Create new Date objects from the start and end times. - let eventStartsOn = new Date(event.start.local); - let eventEndsOn = new Date(event.end.local); + let eventStartsOn = new Date(event.start.utc); + let eventEndsOn = new Date(event.end.utc); let eventTimeZone = event.start.timezone; let formattedDateString = new Intl.DateTimeFormat('en-US', {