You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please do note that using these Etc/GMT+7 style time zones should be avoid, as the +7 really means UTC-7, and they're also listed on the "avoid these please" in the manual: https://www.php.net/manual/en/timezones.others.php — you should make sure that users also can't easily select these.
Description
The following code (see https://3v4l.org/lfalF):
Resulted in this output:
But I expected this output instead:
As highlighted by the code sample, it's possible to create such a DateTimeZone object via DateTime::getTimeZone.
PHP Version
PHP 8.1.14+
Operating System
No response
The text was updated successfully, but these errors were encountered: