Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ PHP NEWS
- CLI:
. Fixed bug GH-8575 (CLI closes standard streams too early). (Levi Morrison)

- Date:
. Fixed bug #51934 (strtotime plurals / incorrect time). (Derick)
. Fixed bug #51987 (Datetime fails to parse an ISO 8601 ordinal date
(extended format)). (Derick)
. Fixed bug #66019 (DateTime object does not support short ISO 8601 time
format - YYYY-MM-DDTHH) (cmb, Derick)
. Fixed bug #68549 (Timezones and offsets are not properly used when working
with dates) (Derick, Roel Harbers)
. Fixed bug #81565 (date parsing fails when provided with timezones including
seconds). (Derick)
. Fixed bug GH-7758 (Problems with negative timestamps and fractions).
(Derick, Ilija)

- FPM:
. Fixed ACL build check on MacOS. (David Carlier)
. Fixed bug #72185: php-fpm writes empty fcgi record causing nginx 502.
Expand Down
2 changes: 1 addition & 1 deletion ext/date/lib/interval.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ timelib_time *timelib_sub_wall(timelib_time *old_time, timelib_rel_time *interva
memcpy(&t->relative, interval, sizeof(timelib_rel_time));

timelib_update_ts(t, NULL);
timelib_update_from_sse(t);
} else {
if (interval->invert) {
bias = -1;
Expand All @@ -331,7 +332,6 @@ timelib_time *timelib_sub_wall(timelib_time *old_time, timelib_rel_time *interva
timelib_do_normalize(t);
}

timelib_update_from_sse(t);
if (t->zone_type == TIMELIB_ZONETYPE_ID) {
timelib_set_timezone(t, t->tz_info);
}
Expand Down
Loading