Re: APR::Date

[prev] [thread] [next] [Date index for 2005/03/15]

From: Stas Bekman
Subject: Re: APR::Date
Date: 00:02 on 15 Mar 2005
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? Probably matching the 
same timestamp when decoded, but encoded in EST (and may be other TZ as well)

You can run this test w/o even starting the server, via:

t/TEST -v -no t/apr-ext/date.t

Thanks.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

APR::Date
Malcolm J Harwood 21:00 on 14 Mar 2005

Re: APR::Date
Stas Bekman 00:02 on 15 Mar 2005

Re: APR::Date
Joe Schaefer 01:26 on 15 Mar 2005

Re: APR::Date
Stas Bekman 02:30 on 17 Mar 2005

Re: APR::Date
Joe Schaefer 03:19 on 17 Mar 2005

Re: APR::Date
Stas Bekman 03:37 on 17 Mar 2005

Re: APR::Date
Malcolm J Harwood 03:55 on 17 Mar 2005

Re: APR::Date
Joe Schaefer 04:12 on 17 Mar 2005

Re: APR::Date
Malcolm J Harwood 01:16 on 18 Mar 2005

Re: APR::Date
Joe Schaefer 01:54 on 18 Mar 2005

Generated at 11:30 on 21 Mar 2005 by mariachi v0.52