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
Correct: string(10) "1667091600" string(10) "1667091600" bool(true)
not Correct from php 8.1.7: string(10) "1667091600" string(10) "1667088000" bool(false)
30 ott 2022 - Daylight Saving Time Ends
When local daylight time is about to reach
sunday 30 ottobre 2022, 3.00.00 clocks are turned backward 1 hour to
sunday 30 ottobre 2022, 2.00.00 local standard time instead. CEST to CET
1667091600 or with bug 1667088000 object(DateTime)#2 (3) { ["date"]=> string(26) "2022-10-30 02:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
With bug does not comply with the proposed rfc specification https://wiki.php.net/rfc/datetime_and_daylight_saving_time
Description
The following code:
Resulted in this output from php 8.1.7:
But I expected this output instead:
PHP Version
php 8.1.7
Operating System
Irrelevant
The text was updated successfully, but these errors were encountered: