From 1f6eaef895d21f514075baaa444fad7497903e44 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:29:18 +0200 Subject: [PATCH] Fix tournament page time formatting in 24h mode Closes #2773 --- app/components/TimePopover.tsx | 4 ++-- app/features/tournament/routes/to.$id.register.tsx | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/components/TimePopover.tsx b/app/components/TimePopover.tsx index 933efa29c..1e8d55180 100644 --- a/app/components/TimePopover.tsx +++ b/app/components/TimePopover.tsx @@ -27,7 +27,7 @@ export default function TimePopover({ className?: string; footerText?: string; }) { - const { formatDateTime, formatTime } = useTimeFormat(); + const { formatDateTimeSmartMinutes, formatTime } = useTimeFormat(); const [open, setOpen] = useState(false); @@ -61,7 +61,7 @@ export default function TimePopover({ setOpen(true); }} > - {formatDateTime(time, options)} + {formatDateTimeSmartMinutes(time, options)}
@@ -120,7 +118,7 @@ export default function TournamentRegisterPage() {