[Fwd: [rt.cpan.org #37592]]

View: New views
2 Messages — Rating Filter:   Alert me  

[Fwd: [rt.cpan.org #37592]]

by Geoffrey Young :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



-------- Original Message --------
Subject: [rt.cpan.org #37592]
Date: Thu, 10 Jul 2008 12:15:12 -0400
From: Doug via RT <bug-mod_perl@...>
Reply-To: bug-mod_perl@...
To: undisclosed-recipients:;
References: <RT-Ticket-37592@...>

Thu Jul 10 12:15:09 2008: Request 37592 was acted upon.
Transaction: Ticket created by dougbitcard
        Queue: mod_perl
      Subject: (No subject given)
    Broken in: 2.0.2
     Severity: Normal
        Owner: Nobody
   Requestors: dougbitcard@...
       Status: new
  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=37592 >


APR::Date::parse_rfc does not accept a date of the form:

Wed, 14 Nov 2007 17:03 -0800

(Note that there are no seconds on the time)

This is RFC822 compliant:
      hour        =  2DIGIT ":" 2DIGIT [":" 2DIGIT]

And it is RFC2822 compliant:
      time-of-day     =       hour ":" minute [ ":" second ]

Apparently, APR::Date will work with a date specification that does not
include seconds, but only if the year is only 2 digits.

My report is based on observed behavior in 2.0.2, but also on the
latest documentation. This is on a linux FC6 system if that matters.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: [Fwd: [rt.cpan.org #37592]]

by Philip M. Gollucci :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Geoffrey Young wrote:
> APR::Date::parse_rfc does not accept a date of the form:
seems like this should be an dev@... bug for apr not mod_perl to me,
unless we do something wierd with the XS.


--
------------------------------------------------------------------------
Philip M. Gollucci (philip@...)
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...