Gabriel Caruso
bdb8b4fb2b
Fix DateTime*::__set_state arginfo
...
This is a minor BC break, because classes inheriting from DateTime and
overriding __set_state() now have to specify the additional parameter
as well. However, adding the additional parameter also continues to
work on previous versions of PHP, so this change is acceptable for
master.
2018-02-03 16:12:46 +01:00
Michael Moravec
d9d13aba58
Added method DateTime::createFromImmutable()
2017-08-25 22:20:43 +02:00
Craig Duncan
618d97962a
Fixed bug #74080 Add datetime constant for RFC7231
2017-04-17 08:08:54 +01:00
Stanislav Malyshev
4975019dd7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
Conflicts:
ext/date/php_date.c
ext/date/tests/DateTime_verify.phpt
2015-04-01 12:50:40 -07:00
Stanislav Malyshev
2d9399af35
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
...
This reverts commit aa22e80b1a
, reversing
changes made to 3e7f47cb03
.
Conflicts:
ext/date/php_date.c
2015-04-01 12:49:25 -07:00
Stanislav Malyshev
aa22e80b1a
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Adding a new `createFromImmutable` method to the `DateTime` class to mirror the current `DateTime::createFromMutable()`
2015-03-22 21:03:46 -07:00
Trevor Suarez
c2e22556ba
Adding a new createFromImmutable
method to the DateTime
class to mirror the current DateTime::createFromMutable()
2015-03-22 20:54:25 -07:00
Trevor Suarez
1de1b6f927
Updating the DateTime_verify
test to include the
...
new method in the reflected method list
2015-03-05 09:50:32 -05:00
Mariano Iglesias
e6819794eb
Adding 'v' formatting to DateTime::format(), and adding constant DateTime::RFC3339_EXTENDED to output datetime using the RFC3339 extended format (aka ISO8601 extended format)
2015-02-20 09:21:14 -03:00
Xinchen Hui
10490a1eb2
Fixed tests, reflection doesn't return reference anymore
2014-03-16 18:09:06 +08:00
Derick Rethans
23ab2575e1
Fixed bug #53879 (DateTime::createFromFormat() fails to parse cookie expiration date)
2013-11-27 21:59:46 +00:00
andy wharmby
0c1fe359a1
New tests for date extension DateTime methods Tested on Windows, Linux and linux 64
2009-03-18 11:32:59 +00:00