From 17a0fd2bd6db5434a8e653678fcdff2984718e97 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 6 May 2014 16:40:22 +0000 Subject: [PATCH] Fixed Cookie example, and show when the format changed in the changelog. Patch by Error Sayre. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333497 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/datetime.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/reference/datetime/datetime.xml b/reference/datetime/datetime.xml index 88e4604202..df8cc18efb 100644 --- a/reference/datetime/datetime.xml +++ b/reference/datetime/datetime.xml @@ -45,7 +45,7 @@ const string DateTime::COOKIE - "l, d-M-y H:i:s T" + "l, d-M-Y H:i:s T" const @@ -141,7 +141,7 @@ DATE_COOKIE - HTTP Cookies (example: Monday, 15-Aug-05 15:52:01 UTC) + HTTP Cookies (example: Monday, 15-Aug-2005 15:52:01 UTC) @@ -259,6 +259,13 @@ The class now implements DateTimeInterface. + + 5.4.24 + + 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. + + 5.2.2