History log of /php-src/ext/date/php_date.c (Results 1 – 25 of 947)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 805326fe 18-Mar-2024 Marc Bennewitz

An uninitialized DateTime is UNEXPECTED (#13492)


# dbd976a6 06-Mar-2024 Marc Bennewitz

Singular DateTime::[get|set]Microsecond & no tentative return type (#13486)

* Singular DateTime::[get|set]Microsecond & no tentative return type

* Added missing getMicrosecond to Da

Singular DateTime::[get|set]Microsecond & no tentative return type (#13486)

* Singular DateTime::[get|set]Microsecond & no tentative return type

* Added missing getMicrosecond to DateTimeInterface

show more ...


# 9f586f6c 27-Feb-2024 Marc Bennewitz

Fixed int32 underflow on DateTime::createFromTimestamp (#12775)

* Fixed int32 underflow on DateTime::createFromTimestamp


# 0016b308 05-Feb-2024 Marc Bennewitz

Added DateTime[Immutable]::[get|set]Microseconds (#12557)

* Added DateTime[Immutable]::[get|set]Microseconds


# 97267215 10-Jan-2024 David CARLIER

general signatures discrepencies fixes (#13122)


# b34b4d54 14-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix #44383: PHP DateTime not converted to xsd:datetime

Closes GH-12437.
Closes GH-11725.


# adc26424 18-Nov-2023 Máté Kocsis

Deprecate calling DatePeriod::__construct() with less than 3 arguments


# 88f2dc62 10-Oct-2023 Marc Bennewitz

Added DateTime[Immutable]::createFromTimestamp / date_create_[immutable]_from_timestamp


# 692cea5c 13-Sep-2023 Ilija Tovilo

Use zend_error_noreturn for E_ERROR consistently

To be clear, these already don't return. zend_error_noreturn just hints at this
fact through the ZEND_NORETURN attribute.

Closes

Use zend_error_noreturn for E_ERROR consistently

To be clear, these already don't return. zend_error_noreturn just hints at this
fact through the ZEND_NORETURN attribute.

Closes GH-12204

show more ...


# b71d2e16 09-Aug-2023 Derick Rethans

Fix GH-11416: Crash with DatePeriod when uninitialised objects are passed in (PHP 8.2+)


# e157da11 09-Aug-2023 Derick Rethans

Update initialisation check for new PHP-8.3 API


# 4833b848 09-Aug-2023 Derick Rethans

Fix GH-11416: Crash with DatePeriod when uninitialised objects are passed in


# 82ff4c5e 19-Jul-2023 Derick Rethans

Make the new DatePeriod::createFromISO8601String method emit DateTimeImmutable objects


# b669cb4c 19-Jul-2023 Derick Rethans

CS


# 9c7c0a0b 01-Jul-2023 Máté Kocsis

Implement DatePeriod::createFromISO8601String()


# 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.


# 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.


# cbac68df 23-Mar-2023 Derick Rethans

Fix GH-10583: DateTime modify with tz pattern should not update linked timezone


# 9d5f2f13 20-Mar-2023 Ilija Tovilo

Use new ZSTR_INIT_LITERAL macro (#10879)


# 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


# 1287747a 21-Feb-2023 Max Kellermann

ext: make various internal functions static (#10650)

Namely in:
* ext/date
* ext/libxml
* ext/dba
* ext/curl


# 263b22f3 21-Feb-2023 Max Kellermann

Make lots of string pointers `const` (#10646)

This allows using string literals without implicitly casting away the
`const`.


# 413844d6 18-Feb-2023 Max Kellermann

Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597)

These types are standard C99.

For compatibility with out-of-tree extensions, keep the typedefs
in

Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597)

These types are standard C99.

For compatibility with out-of-tree extensions, keep the typedefs
in main/php.h.

show more ...


12345678910>>...38