Edit report at http://bugs.php.net/bug.php?id=52242&edit=1
ID: 52242 Updated by: paj...@php.net Reported by: hrach dot cz at gmail dot com Summary: DateTime::diff affects round() -Status: Open +Status: Feedback Type: Bug Package: Date/time related Operating System: win7 x86 PHP Version: 5.3.2 New Comment: Can you try using VC9 please? This bug is similar to another we have using vc6 crt but does not happen with VC9 (bug in the crt, not in php). Previous Comments: ------------------------------------------------------------------------ [2010-07-03 20:49:27] hrach dot cz at gmail dot com I use vc6 TS ------------------------------------------------------------------------ [2010-07-03 18:56:03] paj...@php.net Which binary do you use? (vc6, vc9, ts, nts)? ------------------------------------------------------------------------ [2010-07-03 18:12:18] hrach dot cz at gmail dot com I have no expiriences with that in other cases. So, yes, it happens only when diff is used. ------------------------------------------------------------------------ [2010-07-03 18:01:02] paj...@php.net Does it happen only when the DateTime::diff method is used? I mean: never happened otherwise? ------------------------------------------------------------------------ [2010-07-03 17:18:49] hrach dot cz at gmail dot com I copied old version of definition $t, should be: $t = new DateTime('2010-08-03'); ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=52242 -- Edit this bug report at http://bugs.php.net/bug.php?id=52242&edit=1