mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-24 07:15:24 -07:00
Fix quick week not starting on Monday for UTC+x
This commit is contained in:
parent
f565cfce7a
commit
2236c4fa79
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ export default {
|
||||||
"sat",
|
"sat",
|
||||||
].indexOf(dayName.slice(0, 3).toLowerCase());
|
].indexOf(dayName.slice(0, 3).toLowerCase());
|
||||||
if (dayOfWeek < 0) return;
|
if (dayOfWeek < 0) return;
|
||||||
refDate.setHours(0, 0, 0, 0);
|
refDate.setUTCHours(0, 0, 0, 0);
|
||||||
refDate.setDate(
|
refDate.setDate(
|
||||||
refDate.getDate() +
|
refDate.getDate() +
|
||||||
+!!excludeToday +
|
+!!excludeToday +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue