perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject [Fwd: [rt.cpan.org #37592]]
Date Thu, 10 Jul 2008 17:43:24 GMT


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

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@claar.org
       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@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message