From 5803af74092c3e49d3b97ff0060cfdb4f1d97227 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 10 Mar 2017 22:09:35 -0800 Subject: [PATCH] Use date display formatter on licenses --- app/Presenters/LicensePresenter.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Presenters/LicensePresenter.php b/app/Presenters/LicensePresenter.php index ba265b5c12..87ad17cbcc 100644 --- a/app/Presenters/LicensePresenter.php +++ b/app/Presenters/LicensePresenter.php @@ -49,7 +49,8 @@ class LicensePresenter extends Presenter "field" => "expiration_date", "searchable" => true, "sortable" => true, - "title" => trans('admin/licenses/form.expiration') + "title" => trans('admin/licenses/form.expiration'), + 'formatter' => 'dateDisplayFormatter' ], [ "field" => "license_email", "searchable" => true, @@ -82,6 +83,7 @@ class LicensePresenter extends Presenter "sortable" => true, "visible" => false, "title" => trans('general.purchase_date'), + 'formatter' => 'dateDisplayFormatter' ], [ "field" => "purchase_cost", "searchable" => true,