History log of /PHP-7.2/ext/date/php_date.c (Results 1 – 25 of 562)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5
# 89c327f8 25-Oct-2019 Christoph M. Becker

Fix #78751: Serialising DatePeriod converts DateTimeImmutable

When getting the properties of a DatePeriod instance we have to retain
the proper classes, and when restoring a DatePeriod i

Fix #78751: Serialising DatePeriod converts DateTimeImmutable

When getting the properties of a DatePeriod instance we have to retain
the proper classes, and when restoring a DatePeriod instance we have to
cater to DateTimeImmutable instances as well.

show more ...


Revision tags: php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2
# d2cde0bf 16-Sep-2019 m.yakunin

Fix #70153 \DateInterval incorrectly unserialized

Added a separate macro for reading 'days' property, so that bool(false)
is correctly converted to the proper internal representation.


# e3255a4f 18-Sep-2019 CJDennis

Fix typo

`sizeof("data")-1` and `sizeof("date")-1` are both 4, so no change in behaviour


Revision tags: php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3
# 599b94ff 19-Jun-2019 Joe Watkins

export php_time


# 65067dff 18-Jun-2019 Joe Watkins

Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044


Revision tags: php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1, php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28
# dc586bff 20-Feb-2018 Craig Duncan

Ensure the internal properties cannot be overwritten


# 7b1a4e24 25-Mar-2019 Ignace Nyamagana Butera

Fixed bug #77909: DatePeriod::__construct() with invalid recurrence count value

Improve error message on invalid reccurence count

Adding test when reccurence is -1


# a573c0e9 18-Mar-2019 Nikita Popov

Fix unused variable warning


# ab07bc1f 17-Mar-2019 Derick Rethans

Fixed 7.2 compat issue


# 6eb83a63 26-Feb-2019 Ignace Nyamagana Butera

Fixed bug #75113: Added DatePeriod::getRecurrences() method.


# a890c5be 28-Feb-2019 Derick Rethans

Fixed bug #50020 (DateInterval:createDateFromString() silently fails)


# a109fddb 12-Feb-2019 Nikita Popov

Remove "defensive copy" of DatePeriod properties

get_properties() constructs these as fresh objects with no relation
to the internals, there is no need to clone them again. Additionally

Remove "defensive copy" of DatePeriod properties

get_properties() constructs these as fresh objects with no relation
to the internals, there is no need to clone them again. Additionally
the current implementation leaks memory, because the original objects
are never freed (see PR #3121).

show more ...


# c097acd5 11-Jul-2018 Adam Saponara

Fix #75851: Year component overflow with date formats "c", "o", "r" and "y"


# 72128294 12-Jun-2018 Anatol Belski

Fixed bug #76462 Undefined property: DateInterval::$f


# e0290192 08-Jun-2018 Nikita Popov

Deduplicate code using php_timezone_to_string()

Looks like this usage was overlooked when the function was
introduced.


# ad52ec3d 18-Feb-2018 David Carlier

cast to int to disable compilation warnings.


# 63934ea7 24-Mar-2018 Gabriel Caruso

Fix #76131 some arginfo params are different from the documentation


Revision tags: php-7.2.3RC1
# 17164bcf 14-Feb-2018 Remi Collet

factorization of duplicated code


# 528bc00d 14-Feb-2018 Remi Collet

Fix timezone var_dump from 51f2a5803fa4f09e212fed4b14ab8b4a003d4ef5


Revision tags: php-7.1.15RC1, php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27, php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24
# 070211b3 21-Sep-2017 jhdxr

Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it


# f7069371 08-Feb-2018 Gabriel Caruso

Fix #75857: Timezone gets truncated when formatted

Use sizeof buffer instead of hard-coded lenghts


# fddd7e38 07-Feb-2018 Pedro Lacerda

Fixed bug #75928


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# 466a34d6 07-Nov-2017 Derick Rethans

Revert "date module, replacing abs call with the llabs's like one due to bigger type"

This reverts commit c189845951ad40dcb85105320829aeb4cbd82d58.


12345678910>>...23