FilamentF
Filament5mo ago
keiron

Set default dateTime() table display format

I was under the impression this is now possible in v4, but am struggling to find documentation about it.
Solution
The code I was looking for is: Table::configureUsing(function (Table $table): void { $table->defaultDateTimeDisplayFormat('j M Y, H:i:s'); $table->defaultDateDisplayFormat('j M Y'); });
Was this page helpful?