www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Carstens <carst...@rbi.informatik.uni-frankfurt.de>
Subject Re: mod_cgi/3497: Last-Modified Date set to 1.1.1970
Date Sat, 05 Dec 1998 21:20:01 GMT
The following reply was made to PR mod_cgi/3497; it has been noted by GNATS.

From: Sven Carstens <carstens@rbi.informatik.uni-frankfurt.de>
To: marc@apache.org, apbugs@Apache.Org
Cc:  Subject: Re: mod_cgi/3497: Last-Modified Date set to 1.1.1970
Date: Sat, 05 Dec 1998 21:58:56 +0100

 marc@apache.org 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

View raw message