diff --git a/components/calendar.tsx b/components/calendar.tsx index ce3bf25f..197f50c5 100644 --- a/components/calendar.tsx +++ b/components/calendar.tsx @@ -79,10 +79,18 @@ export function Calendar() { }).format(date); }; + const formatTime = (dateString: string) => { + const date = new Date(dateString); + return new Intl.DateTimeFormat('fr-FR', { + hour: '2-digit', + minute: '2-digit', + }).format(date); + }; + return ( - Calendar + Agenda