« Return to Thread: [Fwd: [rt.cpan.org #37592]]

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

by Geoffrey Young :: Rate this Message:

Reply to Author | View in Thread



-------- 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@...

 « Return to Thread: [Fwd: [rt.cpan.org #37592]]

LightInTheBox - Buy quality products at wholesale price!