Merge pull request #1442 from CachetHQ/bug
Fixed bug in the createNormalized function
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user