On 8/23/11 9:40 AM, Daniel Convissor wrote:
danielc Tue, 23 Aug 2011 16:40:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315376
Log:
Fix differences in some sub() results that were causing tests to fail.
I don't understand this fix. How comes that diff test has:
test_years_positive__6_shy_1_day: DIFF: 2007-02-06 00:00:00 EST -
2000-02-07 00:00:00 EST = **P+6Y11M30DT0H0M0S**
And the add test has:
test_years_positive__6_shy_1_day: ADD: 2000-02-07 00:00:00 EST +
P+6Y11M30DT0H0M0S = **2007-02-06 00:00:00 EST**
but now sub test has:
test_years_positive__6_shy_1_day: SUB: 2007-02-06 00:00:00 EST -
P+6Y11M30DT0H0M0S = **2000-02-05 00:00:00 EST**
Shouldn't the dates match?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php