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

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: [EMAIL PROTECTED]
      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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to