ID:               31056
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Date/time related
 Operating System: Linux 2.4 (Debian)
 PHP Version:      5.0.1
 New Comment:

It's just a matter of changing 2 hyphens to spaces at
http://lxr.php.net/source/php-src/ext/standard/datetime.c#952

Michael


Previous Comments:
------------------------------------------------------------------------

[2004-12-10 20:45:47] [EMAIL PROTECTED]

Description:
------------
If INI directive "y2k_compliance" is set to "On", php_std_date()
returns an invalid HTTP date:

Sun, 06-Nov-1994 08:49:37 GMT - which should be:
Sun, 06 Nov 1994 08:49:37 GMT - (RFC 822/1123)

If "y2k_compliance" is set to "Off", php_std_date()
returns a valid RFC850 HTTP date, though(like: Fri, 10-Dec-04 19:38:00
GMT).

http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31056&edit=1

Reply via email to