From bdae3cd45b144c7d074fb7e8e85f76262e10093e Mon Sep 17 00:00:00 2001 From: Fahri Meral Date: Mon, 20 Dec 2021 07:48:40 +0300 Subject: [PATCH 1/2] Fix: created date not displaying properly Fixed created date not displaying properly, added date format `datetime` --- resources/views/admin/translation/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/admin/translation/index.blade.php b/resources/views/admin/translation/index.blade.php index 8fea154..cc0dbaf 100644 --- a/resources/views/admin/translation/index.blade.php +++ b/resources/views/admin/translation/index.blade.php @@ -288,7 +288,7 @@ class="fa fa-file-excel-o">  {{ trans('brackets/admin-translations::adm item.text.{{ (isset(Auth::user()->language) && in_array(Auth::user()->language, config('translatable.locales'))) ? Auth::user()->language : 'en' }} }} - @{{ item.created_at }} + @{{ item.created_at | datetime }}
From 2ca24e1f5bbca5f7b5e8e3af84161910f4efd992 Mon Sep 17 00:00:00 2001 From: Fahri Meral Date: Fri, 31 Dec 2021 20:42:47 +0300 Subject: [PATCH 2/2] Fix: date format appearing in table for Vue Ex. `@{{ value | datetime to datetime('DD.MM.YYYY, HH:mm') }}` --- resources/views/admin/translation/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/admin/translation/index.blade.php b/resources/views/admin/translation/index.blade.php index cc0dbaf..ca3b8b5 100644 --- a/resources/views/admin/translation/index.blade.php +++ b/resources/views/admin/translation/index.blade.php @@ -288,7 +288,7 @@ class="fa fa-file-excel-o">  {{ trans('brackets/admin-translations::adm item.text.{{ (isset(Auth::user()->language) && in_array(Auth::user()->language, config('translatable.locales'))) ? Auth::user()->language : 'en' }} }} - @{{ item.created_at | datetime }} + @{{ item.created_at | datetime('DD.MM.YYYY, HH:mm') }}