Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #31865 [Form] Fix wrong DateTime on outdated ICU library (aweelex)
This PR was merged into the 3.4 branch. Discussion ---------- [Form] Fix wrong DateTime on outdated ICU library | Q | A | | --- | --- | | Branch? | 3.4 | | Bug fix? | Yes | | New feature? | No | | BC breaks? | No | | Deprecations? | No | | Tests pass? | Yes | | Fixed tickets | --- | | License | MIT | There is a problem, when server uses outdated version of ICU (php-intl). It throws no exeption or debug message on unexisting Timezone. So sometimes you can get wrong DateTime in Forms, because Intl uses 'Etc/Unknown' (UTC+0) instead correct Timezone. And it happens very unobvious. I added `\IntlExeption` for that cases. Commits ------- a6025ab Change IntlTimeZone to DateTimeZone
- Loading branch information