diff --git a/src/app/conf/2025/schedule/_components/format-block-time.tsx b/src/app/conf/2025/schedule/_components/format-block-time.tsx index 135278e43e..71667f35c6 100644 --- a/src/app/conf/2025/schedule/_components/format-block-time.tsx +++ b/src/app/conf/2025/schedule/_components/format-block-time.tsx @@ -4,6 +4,7 @@ const timeFormat = new Intl.DateTimeFormat(undefined, { hour: "2-digit", minute: "2-digit", }) + export const formatBlockTime = (start: string, end?: Date) => { const startDate = parseISO(start) if (end) { diff --git a/src/app/conf/2025/schedule/_components/schedule-list.tsx b/src/app/conf/2025/schedule/_components/schedule-list.tsx index 24aacce712..a19e15b86c 100644 --- a/src/app/conf/2025/schedule/_components/schedule-list.tsx +++ b/src/app/conf/2025/schedule/_components/schedule-list.tsx @@ -133,6 +133,11 @@ export function ScheduleList({ [filterFields, scheduleData], ) + const firstDay = Object.values(filteredSessions)[0] + // if the first day has less than 3 sessions, it's probably a "day zero" with extra events or workshops + const firstDayIsDayZero = Object.keys(firstDay).length < 3 + const startIndex = firstDayIsDayZero ? 0 : 1 + return ( <>