Bug #74487 [Opn->Dup]: DateInterval inconsistent return values

From: Date: Mon, 24 Apr 2017 15:53:46 +0000
Subject: Bug #74487 [Opn->Dup]: DateInterval inconsistent return values
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208746@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74487&edit=1 ID: 74487 Updated by: heiglandreas@php.net Reported by: cristian at sneekdigital dot co dot uk Summary: DateInterval inconsistent return values -Status: Open +Status: Duplicate Type: Bug Package: Date/time related Operating System: All? PHP Version: Irrelevant Block user comment: N Private report: N New Comment: This seems to be a duplicate of https://bugs.php.net/bug.php?id=52480 Previous Comments: ------------------------------------------------------------------------ [2017-04-22 07:16:21] cristian at sneekdigital dot co dot uk Description: ------------ When parsing full months (start to end) the return values are inconsistent with some months returning the number of days and some returning one month. The days property is always correct however. We encountered this problem on MacOS and Ubuntu. Test script: --------------- https://3v4l.org/GHpCD ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74487&edit=1

« previous php.bugs (#208746) next »