The following reply was made to PR mod_cgi/3497; it has been noted by GNATS.

From: Sven Carstens <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc:  Subject: Re: mod_cgi/3497: Last-Modified Date set to 1.1.1970
Date: Sat, 05 Dec 1998 21:58:56 +0100

 [EMAIL PROTECTED] wrote:
 
 > Your date format is incorrect.  You can't just make up a
 > format.  As the HTTP spec defines, the following formats:
 >
 >           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
 >
 > have been historically valid and are accepted, althoug the first is the only
 > one that should be generated.
 
 I didn't make it up as such...
 It is perfectly correct but for the year.....
 It is a Y2K problem........
 If I set the Year from 98 to 1998 it works perfectly.........
 Perl localtime returns only a 2 digit year if used in an array context......
 But it returns a 4 digit year if used in a scalar context.........
 
 Sorry to bother you......
 
 (Still trying to get something reproducable for the connection problem)
 
 CU Sven
 
 

Reply via email to