Tatsuhiko Miyagawa wrote: > At Tue, 26 Mar 2002 15:03:44 +0900, > Tatsuhiko Miyagawa wrote: > > >>It seems to me that Apache::Util::parsedate() ignores '-0700'. > > > in util_date.c > > /* > * Parses an HTTP date in one of three standard forms: > * > * 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 > > Patch after sig.
passes all tests for me with this patch. > -- > Tatsuhiko Miyagawa <[EMAIL PROTECTED]> > > > > --- t/net/perl/util.pl~ Mon Mar 25 06:53:23 2002 > +++ t/net/perl/util.pl Tue Mar 26 15:25:08 2002 > @@ -156,7 +156,7 @@ > Perl: 21 secs (20.57 usr 0.14 sys = 20.71 cpu) > =cut > > -my $date_str = "Sat, 18 Jul 1998 08:38:00 -0700"; > +my $date_str = "Sat, 18 Jul 1998 08:38:00 GMT"; > > test ++$i, Apache::Util::parsedate($date_str); > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
