Fix quick week not starting on Monday for UTC+x

This commit is contained in:
Florian Dupret 2021-04-24 09:46:20 +02:00
commit 2236c4fa79

View file

@ -227,7 +227,7 @@ export default {
"sat",
].indexOf(dayName.slice(0, 3).toLowerCase());
if (dayOfWeek < 0) return;
refDate.setHours(0, 0, 0, 0);
refDate.setUTCHours(0, 0, 0, 0);
refDate.setDate(
refDate.getDate() +
+!!excludeToday +