svn: /phpdoc/en/trunk/reference/datetime/ datetime.xml
| From: | Derick Rethans | Date: | Tue, 06 May 2014 16:40:22 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/ datetime.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12462@lists.php.net to get a copy of this message | ||
derick Tue, 06 May 2014 16:40:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=333497
Log:
Fixed Cookie example, and show when the format changed in the changelog. Patch by Error Sayre.
Changed paths:
U phpdoc/en/trunk/reference/datetime/datetime.xml
Modified: phpdoc/en/trunk/reference/datetime/datetime.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/datetime.xml 2014-05-06 15:17:19 UTC (rev 333496)
+++ phpdoc/en/trunk/reference/datetime/datetime.xml 2014-05-06 16:40:22 UTC (rev 333497)
@@ -45,7 +45,7 @@
<modifier>const</modifier>
<type>string</type>
<varname linkend="datetime.constants.cookie">DateTime::COOKIE</varname>
- <initializer>"l, d-M-y H:i:s T"</initializer>
+ <initializer>"l, d-M-Y H:i:s T"</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
@@ -141,7 +141,7 @@
<term><constant>DATE_COOKIE</constant></term>
<listitem>
<simpara>
- HTTP Cookies (example: Monday, 15-Aug-05 15:52:01 UTC)
+ HTTP Cookies (example: Monday, 15-Aug-2005 15:52:01 UTC)
</simpara>
</listitem>
</varlistentry>
@@ -260,6 +260,13 @@
</entry>
</row>
<row>
+ <entry>5.4.24</entry>
+ <entry>
+ The COOKIE constant was changed to reflect RFC 1036 using a four digit
+ year rather than a two digit year (RFC 850) as prior versions.
+ </entry>
+ </row>
+ <row>
<entry>5.2.2</entry>
<entry>
DateTime object comparison with the