-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DateTimeZone Doesn't Handle Etc/GMT+10 in Php8.1.14 and Php8.2.1 #10285
Comments
Unit tests were failing at Github, having nothing to do with PhpSpreadsheet. Change test to avoid bug, which is reported at php/php-src#10285
Unit tests were failing at Github, having nothing to do with PhpSpreadsheet. Change test to avoid bug, which is reported at php/php-src#10285
Duplicate of #10218.
The very first sentence on that page says not to use them. |
@damianwadley, the trouble is that these are returned by |
@Zenexer This is fixed already, through #10218. I think @damianwadley was too quick labelling this as "not planned". It's not for him to decide that. |
"Not planned" in that this specific issue isn't going to have any associated work - because it's a duplicate of another one. The issue of HMcFD should begin working again when 8.2.2/8.1.15 releases next week. |
Yup, I just want it on the record--for other people landing here from Google--that this is not, in fact, expected behavior. The code snippet at the 3v4l link should work. You shouldn't be deliberately using these timezones, but anything in |
Description
The following code:
Resulted in this output:
But I expected no output instead:
This error is introduced in Php8.1.14 and 8.2.1 (and 8.3 nightlies). It was not present in 8.1.13 or 8.2.0. It appears that all timezones of the form Etc/GMT+whatever fail; Etc/GMT-whatever continues to work. Etc/GMT+whatever continues to be listed as a supported timezone at https://www.php.net/manual/en/timezones.others.php
PHP Version
Php 8.2.1 and Php 8.1.14
Operating System
Windows
The text was updated successfully, but these errors were encountered: