F
Filament5mo 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
Andi5mo ago
Try to add ->isNative(false)
Dennis Koch
Dennis Koch5mo ago
It's the native time picker that reflects your browser/system settings.
Want results from more Discord servers?
Add your server