v0.9.87 build.sh fixes

This commit is contained in:
2026-03-19 12:16:25 -04:00
parent 33b0264080
commit 7dc4cfcbce
5 changed files with 7 additions and 7 deletions

View File

@@ -1012,9 +1012,9 @@ function DayView({ events: rawEvents, selectedDate, onSelect, onSwipe }) {
}
function WeekView({ events: rawEvents, selectedDate, onSelect }) {
const ws = weekStart(selectedDate);
const we = new Date(ws); we.setDate(we.getDate()+6); we.setHours(23,59,59,999);
const events = expandEvents(rawEvents, ws, we);
const _ws = weekStart(selectedDate);
const _we = new Date(_ws); _we.setDate(_we.getDate()+6); _we.setHours(23,59,59,999);
const events = expandEvents(rawEvents, _ws, _we);
const ws=weekStart(selectedDate), days=Array.from({length:7},(_,i)=>{const d=new Date(ws);d.setDate(d.getDate()+i);return d;});
const hours=Array.from({length:DAY_END - DAY_START},(_,i)=>i+DAY_START), today=new Date();
const scrollRef = useRef(null);