Skip to content

Commit

Permalink
Integrate timelib 2021.12
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed May 20, 2022
1 parent ffd27bd commit 546abc4
Show file tree
Hide file tree
Showing 7 changed files with 11,155 additions and 10,284 deletions.
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

0 comments on commit 546abc4

Please sign in to comment.