mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #526 from snack-dev/translated-date-column
Fix date column always shown in english
This commit is contained in:
@@ -33,7 +33,7 @@ class Text extends Column
|
||||
{
|
||||
$this->configure(function () use ($format) {
|
||||
$this->formatUsing = function ($value) use ($format) {
|
||||
$value = Carbon::parse($value)->format($format);
|
||||
$value = Carbon::parse($value)->translatedFormat($format);
|
||||
|
||||
return $value;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user