Doc #72514 [Ver->Csd]: Behaviour of relative date format "this week" has changed
| From: | ab@php.net | Date: | Mon, 04 Jul 2016 09:12:47 +0000 |
| Subject: | Doc #72514 [Ver->Csd]: Behaviour of relative date format "this week" has changed | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13681@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72514&edit=1
ID: 72514
Updated by: ab@php.net
Reported by: roelharbers at gmail dot com
Summary: Behaviour of relative date format "this week" has
changed
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Date/time related
Operating System: Ubuntu, OSX
PHP Version: 5.6.23
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Done. Thanks for the check, Christoph.
Previous Comments:
------------------------------------------------------------------------
[2016-07-03 22:55:54] cmb@php.net
Thanks, Ferenc. Antol, can you also please fix the NEWS and the
Changelog of PHP 7.0?
------------------------------------------------------------------------
[2016-07-03 22:44:14] tyrael@php.net
for the record the NEWS entry is there, but was added to the wrong php version (5.6.21), while in https://bugs.php.net/bug.php?id=63740 it was
communicated as it will present in 5.6.22 (which did not happen as the commit was made after
5.6.22RC1 was tagged) while actually it was released in 5.6.23.
I've updated the NEWS in PHP-5.6 and the Changelog.
------------------------------------------------------------------------
[2016-06-29 11:47:20] cmb@php.net
I've added a changelog entry to the "Relative Formats" section.
Ferenc, can you please add the missing NEWS and Changelog entries?
------------------------------------------------------------------------
[2016-06-29 11:44:52] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339521
Log: Fix #72514: Behaviour of relative date format "this week" has changed
------------------------------------------------------------------------
[2016-06-29 11:36:31] cmb@php.net
Behavioral change confirmed: <https://3v4l.org/R4T5a>.
Apparently,
this week is a shortcut for Monday this week, and the date
extension assumes monday to be the first day of the week.
Thus, the behavior before PHP 5.6.23 has to be regarded as a bug,
what has been reported as bug #63740, and recently been fixed[1].
Even though this commit added a NEWS entry, this did neither make
it into the PHP 5.6.23 NEWS[2] nor the Changelog[3] nor to the
NEWS/Changelog of later versions.
[1] <https://github.com/php/php-src/commit/f43f6fc3>
[2] <https://github.com/php/php-src/blob/php-5.6.23/NEWS>
[3] <http://php.net/ChangeLog-5.php#5.6.23>
------------------------------------------------------------------------
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=72514
--
Edit this bug report at https://bugs.php.net/bug.php?id=72514&edit=1