fix: Replace timeFormat with hourFormat in Calendar components
This commit is contained in:
@@ -926,26 +926,26 @@ const CalendrierPlanningPage = () => {
|
||||
|
||||
<div className="field col-12 md:col-6">
|
||||
<label htmlFor="start">Date/Heure début</label>
|
||||
<Calendar
|
||||
<Calendar
|
||||
id="start"
|
||||
value={newEvent.start}
|
||||
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>
|
||||
|
||||
<div className="field col-12 md:col-6">
|
||||
<label htmlFor="end">Date/Heure fin</label>
|
||||
<Calendar
|
||||
<Calendar
|
||||
id="end"
|
||||
value={newEvent.end}
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user