diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-08-31 13:17:28 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-08-31 13:17:28 +0200 |
| commit | 6eeb381a006d8b5c6bfd81bbb9a542d499aef27d (patch) | |
| tree | 2d0918446051bde659da22b7f62b32a175a5fe89 /accounts/gkleen@sif | |
| parent | 8cf207d3bfcb996c4afa4139e2741b039a313b78 (diff) | |
| download | nixos-6eeb381a006d8b5c6bfd81bbb9a542d499aef27d.tar nixos-6eeb381a006d8b5c6bfd81bbb9a542d499aef27d.tar.gz nixos-6eeb381a006d8b5c6bfd81bbb9a542d499aef27d.tar.bz2 nixos-6eeb381a006d8b5c6bfd81bbb9a542d499aef27d.tar.xz nixos-6eeb381a006d8b5c6bfd81bbb9a542d499aef27d.zip | |
...
Diffstat (limited to 'accounts/gkleen@sif')
| -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; |
