summaryrefslogtreecommitdiff
path: root/ext/date/php_date.c
Commit message (Collapse)AuthorAgeFilesLines
* Make DatePeriod support DateTimeImmutable as well.immutable-dateDerick Rethans2013-01-121-1/+3
| | | | | | If the start element is a DateTimeImmutable object, then all returned objects are also DateTimeImmutable objects. If the start element is a DateTime object, then all returned objects are DateTime objects.
* Fixed crash bug when the non-OO interface was used.Derick Rethans2013-01-121-1/+1
|
* Rename DateTimePoint to DateTimeImmutable.Derick Rethans2013-01-121-64/+64
|
* Added a few missing TSRMLS_DC/TSRMLS_CC.Derick Rethans2013-01-121-9/+9
|
* Implemented immutable DateTime objects as the DateTimePoint class.Derick Rethans2013-01-121-67/+388
|
* Merge branch 'PHP-5.4' into PHP-5.5Derick Rethans2013-01-061-1/+5
|\
| * Merge branch 'PHP-5.3' into PHP-5.4Derick Rethans2013-01-061-1/+5
| |\
| | * Fixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.Derick Rethans2013-01-061-1/+5
| | |
| | * Happy New Year~Xinchen Hui2013-01-011-1/+1
| | |
* | | Merge branch 'PHP-5.4' into PHP-5.5Lars Strojny2013-01-061-4/+5
|\ \ \ | |/ /
| * | Coding style, ANSI C compatibilityLars Strojny2013-01-061-4/+5
| | |
| * | Bug #63699: performance improvements for varios ext/date functionsLars Strojny2013-01-061-8/+39
| | |
| * | Happy New YearXinchen Hui2013-01-011-1/+1
| | |
* | | Bug #63699 performance improvements for ext/date by only validating timezone ↵Lars Strojny2013-01-061-13/+39
| | | | | | | | | | | | when timezone is set
* | | Happy New YearXinchen Hui2013-01-011-1/+1
| | |
* | | Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2012-12-051-2/+21
|\ \ \ | |/ / | | | | | | | | | * PHP-5.4: Use get_gc instead of hacks of get_properties
| * | Use get_gc instead of hacks of get_propertiesDmitry Stogov2012-12-051-2/+21
| | |
* | | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2012-12-041-3/+7
|\ \ \ | |/ / | | | | | | | | | * PHP-5.4: fix bug #63666 - Poor date() performance
| * | fix bug #63666 - Poor date() performanceStanislav Malyshev2012-12-041-3/+7
| | |
* | | Merge branch 'PHP-5.4' into PHP-5.5Remi Collet2012-12-011-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.4: Fixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
| * | Merge branch 'PHP-5.3' into PHP-5.4Remi Collet2012-12-011-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.3: Fixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
| | * Fixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecondRemi Collet2012-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | When storing '015700' microseconds in a Datetime object, Datetime::format('u') returns '015699' Already known per bug45554 reproducer (also fixed).
* | | Merge branch 'PHP-5.4'Xinchen Hui2012-09-151-12/+4
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-09-151-12/+4
| |\ \
| | * | Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"Xinchen Hui2012-09-151-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | see: http://news.php.net/php.bugs/173451 This reverts commit 46a3f257724df7b85cc8c3e6374c36ed9ee783b4.
* | | | Capitalize the warning messageXinchen Hui2012-09-111-1/+1
| | | |
* | | | Rearrange the codes, remove empty linesXinchen Hui2012-09-111-7/+3
| | | |
* | | | Provide a specific error message if date.timezone value is invalid.Simon Welsh2012-09-111-1/+6
|/ / /
* | | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-08-191-4/+12
|\ \ \ | |/ /
| * | Fixed bug #62852 (Unserialize invalid DateTime causes crash)Reeze Xia2012-08-191-4/+12
| |/
| * Fixed Bug #62500 (Segfault in DateInterval class when extended)Xinchen Hui2012-07-101-0/+17
| |
| * Fix #62432 ReflectionMethod random corrupt memory on high concurrentJohannes Schlüter2012-06-271-4/+4
| | | | | | | | | | This fixes the same issue in multiple extensions. This isn't needed in later branches as 5.4 introduced object_properties_init()
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Fixed bug #53502 (strtotime with timezone memory leak).Derick Rethans2011-12-061-11/+83
| | | | | | | | | | | | | | | | | | | | - Fixed bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp). - Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz' format). - Fixed bug #51223 (Seg fault while creating (by unserialization) DatePeriod).
| * Fixed bug#48476Hannes Magnusson2011-08-301-0/+7
| |
| * possible use without init fixedGwynne Raskind2011-08-071-1/+1
| |
| * - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-5/+5
| |
| * - Fixed bug #54283 (new DatePeriod(NULL) causes crash)Felipe Pena2011-03-231-1/+1
| |
| * Fix bug #54340 (DateTime::add() method bug).Adam Harvey2011-03-221-4/+2
| |
| * Fix bug #52290 (setDate, setISODate, setTime works wrong when DateTime ↵Stanislav Malyshev2011-01-301-0/+1
| | | | | | | | created from timestamp)
| * Fix bug #52808 (Segfault when specifying interval as two dates)Stanislav Malyshev2011-01-301-2/+14
| |
| * - Let's keep this consistent in the whole file.Derick Rethans2011-01-251-1/+1
| |
| * removed un-used variableIlia Alshanetsky2011-01-241-1/+0
| |
| * Fixed bug #5273 (Can't use new properties in class extended from DateInterval)Stanislav Malyshev2011-01-241-30/+38
| |
| * Fixed Bug #52063 (DateTime constructor's second argument doesn't have a null ↵Stanislav Malyshev2011-01-241-2/+2
| | | | | | | | default value)
| * - be sure that we got tzid by adding a default casePierre Joye2011-01-201-12/+14
| |
| * - Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bitDerick Rethans2011-01-121-2/+2
| | | | | | | | | | | | big-endian systems). (Patch by rein@basefarm.no)
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * - Fixed a bug in DateTime->modify() where absolute date/time statements had noDerick Rethans2010-12-151-0/+25
| | | | | | | | | | effect.
| * - Fix buildFelipe Pena2010-11-181-1/+1
| |