Skip to content

Commit 4abc832

Browse files
fix: format value from config now uses correct key
1 parent e44fe7f commit 4abc832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FilamentUtcDtsPlugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function getId(): string
1717
public function register(Panel $panel): void
1818
{
1919
$panel->renderHook('panels::global-search.before', function () {
20-
$timestamp = Carbon::now()->utc()->format(config('filament-utc-dts.date_format'));
20+
$timestamp = Carbon::now()->utc()->format(config('filament-utc-dts.format'));
2121

2222
return View::make('filament-utc-dts::badge', [
2323
'showBorder' => config('filament-utc-dts.show_border'),

0 commit comments

Comments
 (0)