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
{{ message }}
Repository navigation
\DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0 #9106
Confirmed: https://3v4l.org/jV4V0. The issue is similar to #8964, but this time it is about timelib_add_wall() instead of timelib_sub_wall(). Particularly:
The addition in line 367 yields the correct result for the second addition (s=2, us=1000000), and the following timelib_do_normalize() correctly normalizes (s=3, us=0), but sse is not properly updated.
Activity
cmb69 commentedon Jul 23, 2022
Confirmed: https://3v4l.org/jV4V0. The issue is similar to #8964, but this time it is about
timelib_add_wall()instead oftimelib_sub_wall(). Particularly:php-src/ext/date/lib/interval.c
Lines 367 to 371 in eff9aed
The addition in line 367 yields the correct result for the second addition (
s=2,us=1000000), and the followingtimelib_do_normalize()correctly normalizes (s=3,us=0), but sse is not properly updated.derickr commentedon Jul 28, 2022
This is now fixed through #9176
norberttech commentedon Jul 28, 2022
Thanks!