We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbd1177 commit 365e0c5Copy full SHA for 365e0c5
1 file changed
web/src/app/[locale]/page.tsx
@@ -55,7 +55,7 @@ export default function HomePage() {
55
// Convert JS day (0=Sunday) to schedule index (0=Monday)
56
const dayIndex = today === 0 ? 6 : today - 1;
57
const todaySchedule = data.openingSchedule.schedule[dayIndex];
58
- if (!todaySchedule || todaySchedule.length === 0) return null;
+ if (!todaySchedule || todaySchedule.length === 0) return t("closedToday");
59
return todaySchedule.map((slot) => `${slot.start} - ${slot.end}`).join(" ");
60
};
61
0 commit comments