From c162c02304120329db43ff7aed3fc78c665f93d1 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 8 Nov 2017 18:03:47 -0800 Subject: [PATCH] =?UTF-8?q?Force=20expected=20checkin=20to=20be=20formatte?= =?UTF-8?q?d=20as=20a=20date=20(not=20datetime)=20since=20it=E2=80=99s=20a?= =?UTF-8?q?=20date=20field=20in=20the=20DB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Notifications/CheckoutNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notifications/CheckoutNotification.php b/app/Notifications/CheckoutNotification.php index a0f44baf10..8a5512aa91 100644 --- a/app/Notifications/CheckoutNotification.php +++ b/app/Notifications/CheckoutNotification.php @@ -93,7 +93,7 @@ class CheckoutNotification extends Notification 'first_name' => $target->present()->fullName(), 'item_name' => $item->present()->name(), 'checkout_date' => $item->last_checkout, - 'expected_checkin' => $item->expected_checkin, + 'expected_checkin' => $item->expected_checkin->format('Y-m-d'), 'item_tag' => $item->asset_tag, 'note' => $this->params['note'], 'item_serial' => $item->serial,