Re: svn: /php/php-src/ branches/PHP_5_3/ext/date/tests/DateTime_diff_add_sub-absolute.phpt
branches/PHP_5_3/ext/date/tests/DateTime_diff_add_sub-dates.phpt branches/PHP_5_3/ext/date/tests/DateTime_diff_add_sub-fall-type2-type2.phpt branches
| From: | Daniel Convissor | Date: | Fri, 10 Jun 2011 15:17:33 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_3/ext/date/tests/DateTime_diff_add_sub-absolute.phpt branches/PHP_5_3/ext/date/tests/DateTime_diff_add_sub-dates.phpt branches/PHP_5_3/ext/date/tests/DateTime_diff_add_sub-fall-type2-type2.phpt branches |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-65174@lists.php.net to get a copy of this message | ||
Hi Hannes:
> > Revision:
> > http://svn.php.net/viewvc?view=revision&revision=308238
> >
> > Log:
> > Add extensive tests for DateTime::diff(), add() and sub().
>
> Are all of these supposed to be working?
Alas, no. There are bugs in the way DateTime handles date math during
daylight/standard time transitions.
By the way, I have plans to adjust the tests to isolate the diff(),
add() and sub() tests and shorten the output to make things clearer.
Thanks,
--Dan