mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-21 22:13:31 -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",
|
||||
].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 +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue