Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/i18n-view-dateformat' into releases/2.0.1
Browse files Browse the repository at this point in the history
Conflicts:
	README.md
  • Loading branch information
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/View/Helper/DateFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public function setTimezone($timezone)
*/
public function getTimezone()
{
if (!$this->timezone) {
return date_default_timezone_get();
}

return $this->timezone;
}

Expand Down

0 comments on commit f383ca9

Please # to comment.