From 149ea9a3ff4175467eadc60c8e01f26d312222bb Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Tue, 2 Feb 2016 20:19:55 +0000 Subject: [PATCH] Fixed bug in the createNormalized function --- app/Dates/DateFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Dates/DateFactory.php b/app/Dates/DateFactory.php index 2b04059c..588016ef 100644 --- a/app/Dates/DateFactory.php +++ b/app/Dates/DateFactory.php @@ -72,6 +72,6 @@ class DateFactory */ public function createNormalized($format, $time) { - return $this->create($format, $time)->setTimezone($this->appTimezone); + return Date::createFromFormat($format, $time)->setTimezone($this->appTimezone); } }