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