Doc #79725 [Asn->Opn]: Update reference to RFC2822 to RFC5322

From: Date: Mon, 15 Mar 2021 21:02:09 +0000
Subject: Doc #79725 [Asn->Opn]: Update reference to RFC2822 to RFC5322
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18637@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79725&edit=1

 ID:                 79725
 Updated by:         cmb@php.net
 Reported by:        mark at manngo dot net
 Summary:            Update reference to RFC2822 to RFC5322
-Status:             Assigned
+Status:             Open
 Type:               Documentation Problem
 Package:            Date/time related
 PHP Version:        Irrelevant
-Assigned To:        cmb
+Assigned To:        
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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)

« previous php.doc.bugs (#18637) next »