make sure schedule end dates are set as utc

This commit is contained in:
Phillip Thelen
2024-05-09 13:54:59 +02:00
parent f835cf2761
commit a8c8fffa7c

View File

@@ -868,7 +868,7 @@ function makeMatcherClass (date) {
} }
function makeEndDate (checkedDate, matcher) { function makeEndDate (checkedDate, matcher) {
let end = moment(checkedDate); let end = moment.utc(checkedDate);
end.date(TYPE_SCHEDULE[matcher.type]); end.date(TYPE_SCHEDULE[matcher.type]);
end.hour(0); end.hour(0);
end.minute(0); end.minute(0);