Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
Malcolm J Harwood wrote:
According to the docs, APR::Date::http parses the format:
Sun, 06 Nov 1994 08:49:37 GMT
as per RFC 822.
However it does not seem to parse
Sun, 06 Nov 1994 08:49:37 EST
correctly. It assumes it's GMT regardless of the timezone
specified. If I'm reading RC822 correctly, this is an error.
Looks like we don't test anything but GMT :(
Malcolm, mind to add the non-GMT tests to t/lib/TestAPRlib/date.pm in
the source package, and we will work on fixing those?
IMO this doesn't need fixing; if anything this is a doc bug.
The apr_date_parse_* functions assume GMT because that's the
timezone 2616 Section 3.3 requires.
Thanks Joe.
What should the manpage say? something like the following?
The function assumes GMT, regardless of the used timezone,
according to RFC 2616 Section 3.3 requires.
--
__________________________________________________________________
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