Re: APR::Date

2005-03-17 Thread Joe Schaefer
Malcolm J Harwood <[EMAIL PROTECTED]> writes: > On Wednesday 16 March 2005 11:12 pm, Joe Schaefer wrote: [...] >> The RFC is a guideline, not the final arbiter. This link is exactly >> what you are looking for: > >> http://apr.apache.org/docs/apr-util/group___a_p_r___util___date.html#ga1 > > Ex

Re: APR::Date

2005-03-17 Thread Malcolm J Harwood
On Wednesday 16 March 2005 11:12 pm, Joe Schaefer wrote: > > How about simply correcting the parse_http docs from: > > The date string can be in one of the following formats: > > to: > > The date string can be in one of the following formats (as per RFC2616): > > > > That way anyone intere

Re: APR::Date

2005-03-16 Thread Joe Schaefer
Malcolm J Harwood <[EMAIL PROTECTED]> writes: [...] > The current doc says: > # parse RFC822-complient date string > > Which it doesn't (as RFC822 includes multiple timezones). Which is *exactly* why I recommended the docs include a pointer to aprutil. All modperl does it wrap the C func

Re: APR::Date

2005-03-16 Thread Malcolm J Harwood
ut this? The current doc says: # parse RFC822-complient date string Which it doesn't (as RFC822 includes multiple timezones). In fact none of the RFCs listed are 2616. Whilst parse_http does seem like it should follow RFC2616, is thare a reason parse_rfc should too? > AP

Re: APR::Date

2005-03-16 Thread Stas Bekman
Joe Schaefer wrote: Stas Bekman <[EMAIL PROTECTED]> writes: [...] 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. No need to mention the RFC; how about this? APR

Re: APR::Date

2005-03-16 Thread Joe Schaefer
Stas Bekman <[EMAIL PROTECTED]> writes: [...] > 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. No need to mention the RFC; how about this? APR

Re: APR::Date

2005-03-16 Thread Stas Bekman
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 assume

Re: APR::Date

2005-03-14 Thread Joe Schaefer
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:3

Re: APR::Date

2005-03-14 Thread Stas Bekman
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

APR::Date

2005-03-14 Thread Malcolm J Harwood
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,