Merge pull request #1442 from CachetHQ/bug

Fixed bug in the createNormalized function
This commit is contained in:
Graham Campbell
2016-02-02 20:35:04 +00:00

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