fix: Replace timeFormat with hourFormat in Calendar components
This commit is contained in:
@@ -931,8 +931,8 @@ const CalendrierPlanningPage = () => {
|
|||||||
value={newEvent.start}
|
value={newEvent.start}
|
||||||
onChange={(e) => setNewEvent({...newEvent, start: e.value as Date})}
|
onChange={(e) => setNewEvent({...newEvent, start: e.value as Date})}
|
||||||
showTime
|
showTime
|
||||||
|
hourFormat="24"
|
||||||
dateFormat="dd/mm/yy"
|
dateFormat="dd/mm/yy"
|
||||||
timeFormat="24"
|
|
||||||
className="w-full"
|
className="w-full"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -944,8 +944,8 @@ const CalendrierPlanningPage = () => {
|
|||||||
value={newEvent.end}
|
value={newEvent.end}
|
||||||
onChange={(e) => setNewEvent({...newEvent, end: e.value as Date})}
|
onChange={(e) => setNewEvent({...newEvent, end: e.value as Date})}
|
||||||
showTime
|
showTime
|
||||||
|
hourFormat="24"
|
||||||
dateFormat="dd/mm/yy"
|
dateFormat="dd/mm/yy"
|
||||||
timeFormat="24"
|
|
||||||
className="w-full"
|
className="w-full"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user