mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 09:51:35 +00:00
Merge 5efcaca5d5 into 77398eba31
This commit is contained in:
commit
17a1753366
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
|||
const map: Record<string, CalendarEventModel[]> = {};
|
||||
for (const e of filteredEvents) {
|
||||
const startMs = e.start_at / NS;
|
||||
const endMs = (e.end_at || e.start_at) / NS;
|
||||
const endMs = Math.max(startMs, (e.end_at || e.start_at) / NS - 1);
|
||||
// Get local midnight for event start/end
|
||||
const startDate = new Date(startMs);
|
||||
const endDate = new Date(endMs);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue