fix: Replace timeFormat with hourFormat in Calendar components

This commit is contained in:
dahoud
2025-10-15 21:37:10 +00:00
parent b5916fbe35
commit c683edb250

View File

@@ -931,8 +931,8 @@ const CalendrierPlanningPage = () => {
value={newEvent.start}
onChange={(e) => setNewEvent({...newEvent, start: e.value as Date})}
showTime
hourFormat="24"
dateFormat="dd/mm/yy"
timeFormat="24"
className="w-full"
/>
</div>
@@ -944,8 +944,8 @@ const CalendrierPlanningPage = () => {
value={newEvent.end}
onChange={(e) => setNewEvent({...newEvent, end: e.value as Date})}
showTime
hourFormat="24"
dateFormat="dd/mm/yy"
timeFormat="24"
className="w-full"
/>
</div>