Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.1

Bug #1748 Improper format of HTTP Date
Submitted: 2004-06-30 11:15 UTC
From: n dot dose at leo-media dot de Assigned: mike
Status: Closed Package: HTTP
PHP Version: 4.2.2 OS: Linux 2.4 (SUSE)
Roadmaps: (Not assigned)    
Subscription  


 [2004-06-30 11:15 UTC] n dot dose at leo-media dot de
Description: ------------ The date output by HTTP::Date() is not formatted according to the HTTP spec with PHP 4.2.2, Linux 2.4.18, Apache 1.3.x. BUT - it works with: Linux 2.4.21, Apache 2 and PHP 4.3.3 SunOS 5.8, Apache 1.3 and PHP 4.3.6 Reproduce code: --------------- <?php include("/etc/phplib/HTTP.php"); echo HTTP::Date(time()); ?> Expected result: ---------------- One of the following formats (from HTTP spec): Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123 Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036 Sun Nov 6 08:49:37 1994 ; ANSI C's asctime() format Actual result: -------------- June, 30-Wed-04 10:59:51 GMT

Comments

 [2004-06-30 12:43 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!