Skip to content

Commit 7fedb43

Browse files
committed
Merge branch 'PHP-8.1'
2 parents c53c3e2 + 3d53e59 commit 7fedb43

19 files changed

+11773
-10299
lines changed

ext/date/lib/interval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ timelib_time *timelib_sub_wall(timelib_time *old_time, timelib_rel_time *interva
308308
memcpy(&t->relative, interval, sizeof(timelib_rel_time));
309309

310310
timelib_update_ts(t, NULL);
311+
timelib_update_from_sse(t);
311312
} else {
312313
if (interval->invert) {
313314
bias = -1;
@@ -331,7 +332,6 @@ timelib_time *timelib_sub_wall(timelib_time *old_time, timelib_rel_time *interva
331332
timelib_do_normalize(t);
332333
}
333334

334-
timelib_update_from_sse(t);
335335
if (t->zone_type == TIMELIB_ZONETYPE_ID) {
336336
timelib_set_timezone(t, t->tz_info);
337337
}

0 commit comments

Comments
 (0)