From d49cdda1505d601e127f506f531b1e8505594f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20Cuiti=C3=B1o?= Date: Mon, 16 Aug 2021 16:59:19 -0300 Subject: [PATCH] Fix date column always shown in english --- packages/tables/src/Columns/Text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tables/src/Columns/Text.php b/packages/tables/src/Columns/Text.php index c8b2624b7f..45008556b3 100644 --- a/packages/tables/src/Columns/Text.php +++ b/packages/tables/src/Columns/Text.php @@ -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; };