F
Filament6mo ago
Tazeen

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')
No description
2 Replies
Andi
Andi6mo ago
Try to add ->isNative(false)
Dennis Koch
Dennis Koch6mo ago
It's the native time picker that reflects your browser/system settings.

Did you find this page helpful?