mirror of
https://github.com/php/doc-en.git
synced 2026-03-24 07:42:10 +01:00
Improve date format documentation a little bit (#5184)
Make it a bit more visible yet that DATE_ISO8601 is not compatible with ISO-8601 (anyone wondering “why ‘like’?” will hopefully see the note immediately below), and mention the standards that Atom is compatible with (straight from RFC 4287, section 3.3; I omitted the “Date and Time Formats” W3C note as it doesn’t seem as prominent as the others) in the hope of encouraging more people to use it.
This commit is contained in:
committed by
GitHub
parent
b731f708be
commit
6bbb5b9685
@@ -68,7 +68,7 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Atom (example: <literal>2005-08-15T15:52:01+00:00</literal>)
|
||||
Atom (example: <literal>2005-08-15T15:52:01+00:00</literal>); compatible with ISO-8601, RFC 3399, and XML Schema
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -92,7 +92,7 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
ISO-8601 (example: <literal>2005-08-15T15:52:01+0000</literal>)
|
||||
ISO-8601-like (example: <literal>2005-08-15T15:52:01+0000</literal>)
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
<term><constant>DATE_ATOM</constant></term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Atom (example: 2005-08-15T15:52:01+00:00)
|
||||
Atom (example: 2005-08-15T15:52:01+00:00); compatible with ISO-8601, RFC 3399, and XML Schema
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -184,7 +184,7 @@
|
||||
<term><constant>DATE_ISO8601</constant></term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
ISO-8601 (example: 2005-08-15T15:52:01+0000)
|
||||
ISO-8601-like (example: 2005-08-15T15:52:01+0000)
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
|
||||
Reference in New Issue
Block a user