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

From: Date: Mon, 24 Apr 2017 16:24:27 +0000
Subject: Bug #74487 [Dup->Csd]: DateInterval inconsistent return values
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208750@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 User updated by: cristian at sneekdigital dot co dot uk Reported by: cristian at sneekdigital dot co dot uk Summary: DateInterval inconsistent return values -Status: Duplicate +Status: Closed Type: Bug Package: Date/time related Operating System: All? PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Please accept my apologies. I would agree. Previous Comments: ------------------------------------------------------------------------ [2017-04-24 15:53:46] heiglandreas@php.net This seems to be a duplicate of https://bugs.php.net/bug.php?id=52480 ------------------------------------------------------------------------ [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 (#208750) next »