cvs: pear /HTTP HTTP.php

From: Date: Wed, 30 Jun 2004 12:37:05 +0000
Subject: cvs: pear /HTTP HTTP.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-21307@lists.php.net to get a copy of this message
mike Wed Jun 30 08:37:05 2004 EDT Modified files: /pear/HTTP HTTP.php Log: * fix bug #1748 - inproper date format for RFC850 http://cvs.php.net/diff.php/pear/HTTP/HTTP.php?r1=1.26&r2=1.27&ty=u Index: pear/HTTP/HTTP.php diff -u pear/HTTP/HTTP.php:1.26 pear/HTTP/HTTP.php:1.27 --- pear/HTTP/HTTP.php:1.26 Thu Jun 10 17:54:53 2004 +++ pear/HTTP/HTTP.php Wed Jun 30 08:37:05 2004 @@ -21,7 +21,7 @@ // | Michael Wallner <mike@php.net> | // +----------------------------------------------------------------------+ // -// $Id: HTTP.php,v 1.26 2004/06/10 21:54:53 mike Exp $ +// $Id: HTTP.php,v 1.27 2004/06/30 12:37:05 mike Exp $ // /** @@ -31,7 +31,7 @@ * * @package HTTP * @category HTTP - * @version $Revision: 1.26 $ + * @version $Revision: 1.27 $ * @access public */ class HTTP @@ -57,7 +57,7 @@ } // RFC822 or RFC850 - $format = ini_get('y2k_compliance') ? 'D, d M Y' : 'F, d-D-y'; + $format = ini_get('y2k_compliance') ? 'D, d M Y' : 'l, d-M-y'; return gmdate($format .' H:i:s \G\M\T', $time); }

« previous php.pear.cvs (#21307) next »