Edit report at http://bugs.php.net/bug.php?id=51184&edit=1
ID: 51184 Comment by: toto at hotmail dot com Reported by: s...@php.net Summary: DateInterval has incorrect days property on windows Status: Wont fix Type: Bug Package: Date/time related Operating System: Windows PHP Version: 5.3.2 Assigned To: pajoye Block user comment: N Private report: N New Comment: Not solved with PHP 5.3.4 (Windows / Apache 2) Previous Comments: ------------------------------------------------------------------------ [2010-10-31 03:32:12] paj...@php.net @php at twinmail dot de Use VC9 builds instead, from http://windows.php.net ------------------------------------------------------------------------ [2010-10-31 02:13:50] php at twinmail dot de 5.3.3 on WINNT is also affected. ------------------------------------------------------------------------ [2010-06-14 12:50:44] paj...@php.net Sorry, I meant won't fix. It is not something we can easily fix, use the VC9 versions instead (apachelounge.com for the VC9 versions of apache). ------------------------------------------------------------------------ [2010-06-14 12:43:28] pluk77 at gmail dot com Is this bug closed because it is now fixed in VC6 as well, or because it is seen as not a bug? ------------------------------------------------------------------------ [2010-06-05 04:14:23] ric dot lombardi at gmail dot com randy, this is not a bug. the format %d just shows the difference between the two day numbers. If you want the absolute days difference between the dates, you have to use "%a" as format. ------------------------------------------------------------------------ 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=51184 -- Edit this bug report at http://bugs.php.net/bug.php?id=51184&edit=1