-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Minimal ZonedDateTime #33
Comments
Moreover same problem with
|
Hi, I can only reproduce the problem with var_dump(LocalDateTime::min()->getYear());
var_dump(ZonedDateTime::of(LocalDateTime::min(), TimeZone::utc())->getYear());
var_dump(LocalDateTime::max()->getYear());
var_dump(ZonedDateTime::of(LocalDateTime::max(), TimeZone::utc())->getYear());
|
@BenMorel Speaking of the |
I don't think it has to do with the PHP version, I get Thank you for the report anyway, I will look into it. |
@BenMorel even more weird, just by switching PHP versions it got me the weird output. (PHP 8 and PHP 7.4 and PHP 7.2 installed via brew)... Also I have tested PHP 7.3 from MacOS and it is also NOK. Could any extension cause this? |
will yield
Which is quite unexpected.
The text was updated successfully, but these errors were encountered: