diff options
Diffstat (limited to 'accounts')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Clock.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Clock.qml b/accounts/gkleen@sif/shell/quickshell/Clock.qml index 3e0f8200..65b842b3 100644 --- a/accounts/gkleen@sif/shell/quickshell/Clock.qml +++ b/accounts/gkleen@sif/shell/quickshell/Clock.qml | |||
| @@ -131,7 +131,7 @@ Item { | |||
| 131 | } | 131 | } |
| 132 | 132 | ||
| 133 | for (let i = 0; i < 7; i++) { | 133 | for (let i = 0; i < 7; i++) { |
| 134 | const dayInWeek = isoWeekStart; | 134 | const dayInWeek = new Date(isoWeekStart); |
| 135 | dayInWeek.setDate(dayInWeek.getDate() + i); | 135 | dayInWeek.setDate(dayInWeek.getDate() + i); |
| 136 | if (dayInWeek.getMonth() == monthCalendar.month) | 136 | if (dayInWeek.getMonth() == monthCalendar.month) |
| 137 | return 1; | 137 | return 1; |
