From 7a81d3b6efc1f01084315b83451ccf57b5a889fd Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Thu, 31 Mar 2016 13:29:36 +0100 Subject: [PATCH] Fixed editing maintenance scheduled time Closes #1669. --- app/Http/Controllers/Dashboard/ScheduleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Dashboard/ScheduleController.php b/app/Http/Controllers/Dashboard/ScheduleController.php index e42464d1..bead6cfd 100644 --- a/app/Http/Controllers/Dashboard/ScheduleController.php +++ b/app/Http/Controllers/Dashboard/ScheduleController.php @@ -140,7 +140,7 @@ class ScheduleController extends Controller $scheduleData = Binput::get('incident'); // Parse the schedule date. - $scheduledAt = app(DateFactory::class)->createNormalized('d/m/Y H:i', $scheduleData['scheduled_at']); + $scheduledAt = app(DateFactory::class)->create('d/m/Y H:i', $scheduleData['scheduled_at']); if ($scheduledAt->isPast()) { $messageBag = new MessageBag();