diff --git a/frontend/src/views/JournalView.vue b/frontend/src/views/JournalView.vue index d776336..15446d3 100644 --- a/frontend/src/views/JournalView.vue +++ b/frontend/src/views/JournalView.vue @@ -130,10 +130,15 @@ function formatEventTime(ev: EventEntry): string { async function loadEvents() { try { - const now = new Date() - const end = new Date(now) + // Window: today 00:00 → 14 days out. Matches the prep's framing — events + // earlier today (already past) still surface here, grouped under "Today", + // so the right rail aligns with what the prep references. + const start = new Date() + start.setHours(0, 0, 0, 0) + const end = new Date(start) end.setDate(end.getDate() + 14) - upcomingEvents.value = await listEvents(now.toISOString(), end.toISOString()) + end.setHours(23, 59, 59, 999) + upcomingEvents.value = await listEvents(start.toISOString(), end.toISOString()) } catch { /* silent */ } }