Skip to content

Commit ffcf5f0

Browse files
committed
Display times in schedule always in 24h format
1 parent c9c531c commit ffcf5f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/conf/2025/schedule/_components/format-block-time.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { parseISO } from "date-fns"
33
const timeFormat = new Intl.DateTimeFormat(undefined, {
44
hour: "2-digit",
55
minute: "2-digit",
6+
hour12: false,
67
})
78
export const formatBlockTime = (start: string, end?: Date) => {
89
const startDate = parseISO(start)

0 commit comments

Comments
 (0)