git.99rst.org
/
DailyTxT.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
9bcadb1
)
fix for wrong weekday in calendar
author
PhiTux
<redacted>
Wed, 22 Oct 2025 13:36:46 +0000
(15:36 +0200)
committer
PhiTux
<redacted>
Wed, 22 Oct 2025 13:36:46 +0000
(15:36 +0200)
frontend/src/lib/Datepicker.svelte
patch
|
blob
|
history
diff --git
a/frontend/src/lib/Datepicker.svelte
b/frontend/src/lib/Datepicker.svelte
index d7ea328c957517feebc11f50b20c123238299b51..9403948666a89c371cecba33a08cb45620100a97 100644
(file)
--- a/
frontend/src/lib/Datepicker.svelte
+++ b/
frontend/src/lib/Datepicker.svelte
@@
-39,8
+39,8
@@
const updateCalendar = () => {
const month = $cal.currentMonth;
const year = $cal.currentYear;
- const firstDay = new Date(
Date.UTC(year, month, 1)
);
- const lastDay = new Date(
Date.UTC(year, month + 1, 0)
);
+ const firstDay = new Date(
year, month, 1
);
+ const lastDay = new Date(
year, month + 1, 0
);
let tempDays = [];
// monday is first day
git clone https://git.99rst.org/PROJECT