fix: calendar weekend highlighting
Screw timezones
This commit is contained in:
parent
1600c889ac
commit
074dad09f7
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ CustomMouseArea {
|
|||
horizontalAlignment: Text.AlignHCenter
|
||||
text: grid.locale.toString(dayItem.model.day)
|
||||
color: {
|
||||
const dayOfWeek = dayItem.model.date.getUTCDay();
|
||||
const dayOfWeek = dayItem.model.date.getDay();
|
||||
if (dayOfWeek === 0 || dayOfWeek === 6)
|
||||
return Colours.palette.m3secondary;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue