Bug #52242 [Opn->Fbk]: DateTime::diff affects round()
| From: | pajoye@php.net | Date: | Sat, 03 Jul 2010 19:02:23 +0000 |
| Subject: | Bug #52242 [Opn->Fbk]: DateTime::diff affects round() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152062@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52242&edit=1
ID: 52242
Updated by: pajoye@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] pajoye@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] pajoye@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