#
f9453a88 |
| 18-Oct-2024 |
Christoph M. Becker |
Fix GH-14732: date_sun_info() fails for non-finite values `timelib_astro_rise_set_altitude()` is not prepared to deal with non- finite values (`nan`, `inf` and `-inf`) for `lon` and `lat
Fix GH-14732: date_sun_info() fails for non-finite values `timelib_astro_rise_set_altitude()` is not prepared to deal with non- finite values (`nan`, `inf` and `-inf`) for `lon` and `lat`; instead these trigger undefined behavior. Thus we catch non-finite values before even calling that timelib function; for `date_sun_info()` we trigger `ValueError`s; for `date_sunrise()` and `date_sunset()` we silently return `false`, since these functions will be sunsetted anyway. Closes GH-16497.
show more ...
|
#
b2b294a2 |
| 18-Oct-2024 |
Derick Rethans |
Fixed bug GH-16037 (Assertion failure in ext/date/php_date.c)
|
#
9bc34182 |
| 17-Oct-2024 |
Christoph M. Becker |
Fix GH-16454: Unhandled INF in date_sunset() with tiny $utcOffset After normalization, `N` is supposed to be in range [0, 24], but for very large and very small `$utcOffset` this is not
Fix GH-16454: Unhandled INF in date_sunset() with tiny $utcOffset After normalization, `N` is supposed to be in range [0, 24], but for very large and very small `$utcOffset` this is not necessarily the case, since the normalization might yied `-inf` or `inf`. If that happens, we let the function fail silently, since it is highly unlikely that such `$utcOffset`s are passed in practice. Closes GH-16483.
show more ...
|
#
fecad54d |
| 13-Sep-2024 |
Derick Rethans |
Backport fix from PHP 8.3: The exception handler already takes care of destroying the return value
|
#
f752e23c |
| 11-Sep-2024 |
Derick Rethans |
Fix GH-15582: Crash when not calling parent constructor of DateTimeZone
|
#
6cab7698 |
| 28-Aug-2024 |
Máté Kocsis |
Add missing return for DatePeriod::__unserialize Additionally, add other RETURN_THROWS() defensively.
|
#
b71d2e16 |
| 09-Aug-2023 |
Derick Rethans |
Fix GH-11416: Crash with DatePeriod when uninitialised objects are passed in (PHP 8.2+) |
#
7f6e98ce |
| 09-Aug-2023 |
Derick Rethans |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
4833b848 |
| 09-Aug-2023 |
Derick Rethans |
Fix GH-11416: Crash with DatePeriod when uninitialised objects are passed in |
#
1b536058 |
| 22-Jun-2023 |
Derick Rethans |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
0747616f |
| 22-Jun-2023 |
Derick Rethans |
Fixed GH-11368: Date modify returns invalid datetime |
#
93becab5 |
| 18-Jun-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11455: Segmentation fault with custom object date properties Closes GH-11473. |
#
caab608d |
| 23-May-2023 |
nielsdos <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix GH-11281: DateTimeZone::getName() does not include seconds in offset
|
#
f9117eb8 |
| 19-May-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11281: DateTimeZone::getName() does not include seconds in offset If the seconds portion is non-zero, include the seconds in the output. Closes GH-11282. |
#
50ca489a |
| 23-Mar-2023 |
Derick Rethans |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
cbac68df |
| 23-Mar-2023 |
Derick Rethans |
Fix GH-10583: DateTime modify with tz pattern should not update linked timezone |
#
ce5f75fb |
| 13-Mar-2023 |
Derick Rethans |
Fixed oss-fuzz #56931 |
#
a2255818 |
| 09-Mar-2023 |
Derick Rethans |
Fix GH-10747: Private and protected properties in serialized Date* objects throw |
#
5d9ee8f9 |
| 07-Feb-2023 |
Derick Rethans |
Fixed OSS fuzz issues #55589, #55599, and #55727 |
#
cb907d50 |
| 31-Jan-2023 |
Derick Rethans |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
a42bf933 |
| 26-Jan-2023 |
Derick Rethans |
Fixed GH-10447: 'p' format specifier does not yield 'Z' for 00:00 |
#
85fbc6ea |
| 25-Jan-2023 |
Derick Rethans |
Fix GH-10152: Custom properties of Date's child classes are not serialised |
#
6b212b6d |
| 20-Dec-2022 |
Derick Rethans |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
d19a70c9 |
| 20-Dec-2022 |
Derick Rethans |
Fix GH-9891: DateTime modify with unixtimestamp (@) must work like setTimestamp |
#
2e6b317f |
| 17-Oct-2022 |
Derick Rethans |
Merge branch 'PHP-8.1' into PHP-8.2
|