ID:               37616
 Updated by:       [EMAIL PROTECTED]
 Reported By:      evert at collab dot nl
-Status:           Open
+Status:           Assigned
 Bug Type:         Date/time related
 Operating System: Debian
 PHP Version:      5.1.4
-Assigned To:      
+Assigned To:      derick
 New Comment:

Patch (5.2-cvs and HEAD): 
http://php.is/bugs/37616/bug37616.patch.txt
phpdoc: http://php.is/bugs/37616/bug37616.phpdoc.patch.txt

however; I don't quite see the need for this constant as 
RFC2822 "supersedes the one specified in Request For 
Comments (RFC) 822, "Standard for the Format of ARPA 
Internet Text Messages", updating it to reflect current 
practice and incorporating incremental changes that were 
specified in other RFCs."

-Hannes


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

[2006-05-27 21:22:47] evert at collab dot nl

Description:
------------
The DATE_RFC822 constant does not always produce proper dates

It puts a 'CEST'  time zone identifier in the end of the string,
however there are only a few time zone abbriviations that are 'legal'
in RFC 822, instead it should show the offset in these cases..

Reproduce code:
---------------
echo(date(RFC822));

Expected result:
----------------
Thu, 25 May 2006 01:11:01 +0100

Actual result:
--------------
Thu, 25 May 2006 01:11:01 CEST


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


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

Reply via email to