fix: Replace timeFormat with hourFormat in Calendar components
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user