From a8c8fffa7c65a9ccafbd251ecba731c8992d3f78 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Thu, 9 May 2024 13:54:59 +0200 Subject: [PATCH] make sure schedule end dates are set as utc --- website/common/script/content/constants/schedule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/common/script/content/constants/schedule.js b/website/common/script/content/constants/schedule.js index 739948b2e1..af2fc3681a 100644 --- a/website/common/script/content/constants/schedule.js +++ b/website/common/script/content/constants/schedule.js @@ -868,7 +868,7 @@ function makeMatcherClass (date) { } function makeEndDate (checkedDate, matcher) { - let end = moment(checkedDate); + let end = moment.utc(checkedDate); end.date(TYPE_SCHEDULE[matcher.type]); end.hour(0); end.minute(0);