// Local-midnight day window [start, nextMidnight). Lifted from ReceptionistHomePage's private copy // so both overviews share one definition. export const getLocalDayRange = (date: Date = new Date()): { start: Date; end: Date } => { const start = new Date(date); start.setHours(0, 0, 0, 0); const end = new Date(start); end.setDate(end.getDate() + 1); return { start, end }; };