Fixed bug #79939: RFC 822 and 2822 missing from DateTime 'Compound Formats'

This commit is contained in:
Derick Rethans 2022-06-02 18:30:13 +01:00
parent 5e983c42a0
commit 48e99212ad

View file

@ -123,9 +123,9 @@ class DateTime#1 (3) {
<para>
This page describes the different date/time formats that the
<classname>DateTimeImmutable</classname>, <classname>DateTime</classname>,
<function>date_create</function>,
<function>date_create_immutable</function>, and
<function>strtotime</function> parser understands.
<function>date_create</function>,
<function>date_create_immutable</function>, and
<function>strtotime</function> parser understands.
</para>
<table>
@ -281,8 +281,10 @@ class DateTime#1 (3) {
<para>
This page describes the different date formats that the
<function>strtotime</function>, <classname>DateTime</classname> and
<function>date_create</function> parser understands.
<classname>DateTimeImmutable</classname>, <classname>DateTime</classname>,
<function>date_create</function>,
<function>date_create_immutable</function>, and
<function>strtotime</function> parser understands.
</para>
<table>
@ -558,8 +560,10 @@ class DateTime#1 (3) {
<para>
This page describes the different compound date/time formats that the
<function>strtotime</function>, <classname>DateTime</classname> and
<function>date_create</function> parser understands.
<classname>DateTimeImmutable</classname>, <classname>DateTime</classname>,
<function>date_create</function>,
<function>date_create_immutable</function>, and
<function>strtotime</function> parser understands.
</para>
<table>
@ -657,6 +661,72 @@ class DateTime#1 (3) {
</tgroup>
</table>
<table>
<title>Standards Formats</title>
<tgroup cols="2">
<thead>
<row>
<entry>Description</entry>
<entry>Examples</entry>
</row>
</thead>
<tbody>
<row>
<entry>ATOM</entry>
<entry>"2022-06-02T16:58:35+00:00"</entry>
</row>
<row>
<entry>COOKIE</entry>
<entry>"Thursday, 02-Jun-2022 16:58:35 UTC"</entry>
</row>
<row>
<entry>ISO8601</entry>
<entry>"2022-06-02T16:58:35+0000"</entry>
</row>
<row>
<entry><link xlink:href="&url.rfc;822">RFC 822</link></entry>
<entry>"Thu, 02 Jun 22 16:58:35 +0000"</entry>
</row>
<row>
<entry><link xlink:href="&url.rfc;850">RFC 850</link></entry>
<entry>"Thursday, 02-Jun-22 16:58:35 UTC"</entry>
</row>
<row>
<entry><link xlink:href="&url.rfc;1036">RFC 1036</link></entry>
<entry>"Thu, 02 Jun 22 16:58:35 +0000"</entry>
</row>
<row>
<entry><link xlink:href="&url.rfc;1123">RFC 1123</link></entry>
<entry>"Thu, 02 Jun 2022 16:58:35 +0000"</entry>
</row>
<row>
<entry><link xlink:href="&url.rfc;2822">RFC 2822</link></entry>
<entry>"Thu, 02 Jun 2022 16:58:35 +0000"</entry>
</row>
<row>
<entry><link xlink:href="&url.rfc;3339">RFC 3339</link></entry>
<entry>"2022-06-02T16:58:35+00:00"</entry>
</row>
<row>
<entry><link xlink:href="&url.rfc;3339">RFC 3339</link> Extended</entry>
<entry>"2022-06-02T16:58:35.698+00:00"</entry>
</row>
<row>
<entry><link xlink:href="&url.rfc;7231">RFC 7231</link></entry>
<entry>"Thu, 02 Jun 2022 16:58:35 GMT"</entry>
</row>
<row>
<entry>RSS</entry>
<entry>"Thu, 02 Jun 2022 16:58:35 +0000"</entry>
</row>
<row>
<entry>W3C</entry>
<entry>"2022-06-02T16:58:35+00:00"</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<title>Localized Notations</title>
<tgroup cols="3">
@ -749,8 +819,10 @@ class DateTime#1 (3) {
<title>Relative Formats</title>
<para>
This page describes the different relative date/time formats that the
<function>strtotime</function>, <classname>DateTime</classname> and
<function>date_create</function> parser understands.
<classname>DateTimeImmutable</classname>, <classname>DateTime</classname>,
<function>date_create</function>,
<function>date_create_immutable</function>, and
<function>strtotime</function> parser understands.
</para>
<table>