svn: /phpdoc/en/trunk/reference/datetime/ formats.xml
| From: | Peter Cowburn | Date: | Thu, 31 Jul 2014 13:11:08 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/ formats.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12689@lists.php.net to get a copy of this message | ||
salathe Thu, 31 Jul 2014 13:11:08 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334439
Log:
start a changelog for datetime.formats.relative (doc bug #67722)
Bug: https://bugs.php.net/67722 (Assigned) first day
returning first day of next month
Changed paths:
U phpdoc/en/trunk/reference/datetime/formats.xml
Modified: phpdoc/en/trunk/reference/datetime/formats.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/formats.xml 2014-07-31 13:11:04 UTC (rev 334438)
+++ phpdoc/en/trunk/reference/datetime/formats.xml 2014-07-31 13:11:08 UTC (rev 334439)
@@ -18,7 +18,7 @@
</para>
<!--Time Formats: {{{-->
- <section xml:id="datetime.formats.time">
+ <sect1 xml:id="datetime.formats.time">
<title>Time Formats</title>
<para>
@@ -171,11 +171,11 @@
</tbody>
</tgroup>
</table>
- </section>
+ </sect1>
<!--}}}-->
<!--Date Formats: {{{-->
- <section xml:id="datetime.formats.date">
+ <sect1 xml:id="datetime.formats.date">
<title>Date Formats</title>
<para>
@@ -443,11 +443,11 @@
in the proleptic Gregorian calendar).
</para>
</note>
- </section>
+ </sect1>
<!--}}}-->
<!--Compound Formats: {{{-->
- <section xml:id="datetime.formats.compound">
+ <sect1 xml:id="datetime.formats.compound">
<title>Compound Formats</title>
<para>
@@ -635,13 +635,12 @@
The "Unix Timestamp" format sets the timezone to UTC.
</para>
</note>
- </section>
+ </sect1>
<!--}}}-->
<!--Relative Formats: {{{-->
- <section xml:id="datetime.formats.relative">
+ <sect1 xml:id="datetime.formats.relative">
<title>Relative Formats</title>
-
<para>
This page describes the different relative date/time formats that the
<function>strtotime</function>, <classname>DateTime</classname> and
@@ -926,7 +925,32 @@
December being 31 days in length, producing a total of 61 days.
</para>
</note>
- </section>
+
+ <sect2 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.3.3</entry>
+ <entry>
+ "first day" and "last day" changed to behave has "+1 day"
and "-1 day",
+ respectively. Previously, the behaviour was as "first day of" and "last day
of".
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </sect2>
+ </sect1>
<!--}}}-->
</chapter>