12 hr format in TimePicker
I'm trying to show the time picker in 12 hrs format instead of 24 hrs. I have tried the code below but still getting the same output:
TimePicker::make('endTime')
->label('End Time')
->withoutSeconds()
->required()
->format('h:i A')
2 Replies
Try to add ->isNative(false)
It's the native time picker that reflects your browser/system settings.