Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-26 Thread Daniel Convissor
Hi Folks: On Tue, Jan 25, 2011 at 04:15:26PM +0100, Pierre Joye wrote: > be sure to use the right type(s), do the casting correctly Let's dial back the personalities for a moment. The issue raised above produces bugs in DateTime::diff(). The existing code relies on C dropping decimal component

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/date/php_date.c trunk/ext/date/php_date.c

2011-01-26 Thread Gustavo Lopes
On Wed, 26 Jan 2011 14:13:01 -, Daniel Convissor wrote: On Tue, Jan 25, 2011 at 04:15:26PM +0100, Pierre Joye wrote: be sure to use the right type(s), do the casting correctly Let's dial back the personalities for a moment. The issue raised above produces bugs in DateTime::diff(). The