Fixed bug in the createNormalized function

This commit is contained in:
Graham Campbell
2016-02-02 20:19:55 +00:00
parent 87c261a42d
commit 149ea9a3ff

View File

@@ -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);
}
}