[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Document new 'N' and 'o' letters (ISO-8601 day-of-the-week, and ISO-8601 
From:       Derick Rethans <noreply () php ! net>
Date:       2022-05-13 9:10:02
Message-ID: 7GKCsL4aQ852Z26NnCEwPPULdF1jrFezDaLPY29g () main ! php ! net
[Download RAW message or body]

Author: Derick Rethans (derickr)
Date: 2022-05-13T10:05:31+01:00

Commit: https://github.com/php/doc-en/commit/5e865c822bc21a97228facd06533a3c93ba5edad
Raw diff: https://github.com/php/doc-en/commit/5e865c822bc21a97228facd06533a3c93ba5edad.diff

Document new 'N' and 'o' letters (ISO-8601 day-of-the-week, and ISO-8601 year)

Changed paths:
  M  reference/datetime/functions/idate.xml


Diff:

diff --git a/reference/datetime/functions/idate.xml b/reference/datetime/functions/idate.xml
index 3a61cd51f74..ea5d62549f2 100644
--- a/reference/datetime/functions/idate.xml
+++ b/reference/datetime/functions/idate.xml
@@ -78,6 +78,15 @@
            <entry><literal>m</literal></entry>
            <entry>Month number</entry>
           </row>
+          <row>
+           <entry><literal>N</literal></entry>
+           <entry>ISO-8601 day of the week (<literal>1</literal> for Monday
+            through <literal>7</literal> for Sunday)</entry>
+          </row>
+          <row>
+           <entry><literal>o</literal></entry>
+           <entry>ISO-8601 year (4 digits)</entry>
+          </row>
           <row>
            <entry><literal>s</literal></entry>
            <entry>Seconds</entry>
@@ -160,6 +169,13 @@
       </row>
      </thead>
      <tbody>
+      <row>
+       <entry>8.2.0</entry>
+       <entry>
+        Adds the <literal>N</literal> (ISO-8601 day of the week) and
+        <literal>o</literal> (ISO-8601 year) format characters.
+       </entry>
+      </row>
       <row>
        <entry>8.0.0</entry>
        <entry>

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic