Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #4014 Fix exception when timezone is false (Seb33300)
This PR was squashed before being merged into the 3.x branch. Discussion ---------- Fix exception when timezone is false When passing `false` in the timezone param, twig returns an exception: > An exception has been thrown during the rendering of a template ("Twig\Extra\Intl\IntlExtension::createDateFormatter(): Argument 5 ($timezone) must be of type ?DateTimeZone, bool given Passing `false` is supported and allows to skip the timezone conversion. Regression introduced by #3903 Commits ------- 7e8f5eb Fix exception when timezone is false
- Loading branch information