Doc #79725 [Opn->Csd]: Update reference to RFC2822 to RFC5322
Edit report at https://bugs.php.net/bug.php?id=79725&edit=1
ID: 79725
Updated by: git@php.net
Reported by: mark at manngo dot net
Summary: Update reference to RFC2822 to RFC5322
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Date/time related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of derickr
Revision: https://github.com/php/doc-en/commit/5e983c42a0d9b803538f843954b665435f663671
Log: Fixed bug #79725: Update reference to RFC2822 to RFC5322
Previous Comments:
------------------------------------------------------------------------
[2021-03-15 21:02:09] cmb@php.net
Ah, thanks! I get your point, but I'm not quite sure if we should
change that (it is technically not wrong to refer to RFC 2822),
and there actually is DateTimeInterface::RFC2822/DATE_RFC2822
which we cannot rename for BC reasons.
------------------------------------------------------------------------
[2021-03-15 18:54:07] mark at manngo dot net
The documentation I was referring to has been moved to
https://www.php.net/manual/en/datetime.format.php
In it, the description for the ârâ format code says:
» RFC 2822 formatted date
RFC 2822 has been obsoleted by RFC 5322:
http://www.faqs.org/rfcs/rfc5322.html
------------------------------------------------------------------------
[2021-03-15 16:56:08] cmb@php.net
To what exactly are you referring to? Maybe consider to provide a
pull request[1].
[1] <https://github.com/php/doc-en/pulls>
------------------------------------------------------------------------
[2020-06-23 08:01:13] mark at manngo dot net
Description:
------------
The documentation on the date() function at https://www.php.net/manual/en/function.date
describes the code as for an RFC2822 formatted date.
This is pedantic, I know, but RFC2822 has long been obsoleted by RFC5322.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79725&edit=1
Thread (5 messages)