+ {formatShortDate(week[0]!.date)} –{" "} + {formatShortDate(addDays(week[0]!.date, 6))} +
++ No upcoming overrides. Your weekly hours apply every day. +
+ ) : ( ++ Pick a date on the calendar to override it. +
+ ) : ( + <> ++ {formatShortDate(date, true)} +
++ {usualHours.length + ? `Usual hours: ${usualHours + .map((w) => formatTimeRange(w.start, w.end)) + .join(", ")}` + : "No weekly hours on this date."} + {isExisting && " · Already overridden"} +
++ Nothing can be booked with you on this date. +
+ ) : ( ++ Add at least one window, or choose Day off. +
+ )} + +
+
+ {formatTime(EXAMPLE_START)} – {formatTime(EXAMPLE_END)} with a{" "} + {lessonMinutes}-minute lesson offers{" "} + {starts.map(formatTime).join(" and ")}. +
++ {lessonDurations.length > 0 + ? `Your private lessons are ${lessonDurations + .map((minutes) => `${minutes} min`) + .join(", ")} long.` + : "You don't coordinate any active private lessons yet; slot hints assume 60 minutes."} +
++ {error ?? describeSlots(start, end, lessonMinutes)} +
+
+
+
+ You have unsaved changes. +
+ ) : ( ++ Changes only affect future bookings. Lessons already booked + stay as they are. +
+ )} +