From bcf1f06ca4474d1892a7734015cdcef3bfef8d43 Mon Sep 17 00:00:00 2001 From: Aden Fraser Date: Fri, 23 Jun 2017 15:10:37 +0100 Subject: [PATCH] Fixes Date issue with incident dates being incorrect (as only loading out the date, not the time) --- app/Models/Incident.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Incident.php b/app/Models/Incident.php index 93b4be67..728c6085 100644 --- a/app/Models/Incident.php +++ b/app/Models/Incident.php @@ -76,7 +76,7 @@ class Incident extends Model implements HasPresenter protected $casts = [ 'visible' => 'int', 'stickied' => 'bool', - 'occurred_at' => 'date', + 'occurred_at' => 'datetime', 'deleted_at' => 'date', ];