Bug #74529 [Fbk->NoF]: DateTime::diff seems to ignore $absolute = true
Edit report at https://bugs.php.net/bug.php?id=74529&edit=1
ID: 74529
Updated by: php-bugs@lists.php.net
Reported by: hrovira at seocom dot es
Summary: DateTime::diff seems to ignore $absolute = true
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Date/time related
Operating System: Ubuntu 16.04.2 LTS
PHP Version: 7.1.4
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2017-05-06 18:56:31] heiglandreas@php.net
To me this looks like a duplicate of https://bugs.php.net/bug.php?id=52480 depending on
which way the diff startsâ¦
------------------------------------------------------------------------
[2017-05-03 12:17:05] andrew dot nester dot dev at gmail dot com
I've just updated my PR to fix the issue.
See https://github.com/php/php-src/pull/2509
Thanks!
------------------------------------------------------------------------
[2017-05-02 20:06:00] andrew dot nester dot dev at gmail dot com
Thanks Derick!
gonna rework my pull request
------------------------------------------------------------------------
[2017-05-02 12:34:14] derick@php.net
Andrew, it might look fixed for you because you have a different timezone with different DST rules
configured.
------------------------------------------------------------------------
[2017-05-02 12:12:51] andrew dot nester dot dev at gmail dot com
thanks for reporting this issue!
I tried to reproduce it on latest 7.1 build (7.1.6-dev) - working good.
but anyway I decided to add test to prove that it works as expected (see my PR)
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=74529
--
Edit this bug report at https://bugs.php.net/bug.php?id=74529&edit=1
Thread (8 messages)