Loading ...
Sorry, an error occurred while loading the content.

Re: [rt.cpan.org #36890] XML::FeedPP doesn't seem to accept two-digit date format

Expand Messages
  • Kawasaki Yusuke
    Note that XML::FeedPP version 0.36 was released. ======== 2008/10/26 (0.36) * RFC1123 and RSS spec allow two-digit date format
    Message 1 of 1 , Oct 25, 2008
    View Source
    • 0 Attachment
      Note that XML::FeedPP version 0.36 was released.

      ========
      2008/10/26 (0.36)
      * RFC1123 and RSS spec allow two-digit date format
      http://rt.cpan.org/Public/Bug/Display.html?id=36890
      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503260
      (thanks to Illtud Daniel and Anthony DeRobertis)
      ========

      Thank you both.

      ---------- Forwarded message ----------
      From: Kawasaki Yusuke <u-suke@...>
      Date: Sun, Oct 26, 2008 at 1:37 PM
      Subject: Re: XML::FeedPP -- two-digit years
      To: Adrian von Bidder
      Cc: 503260@...


      Hi Adrian,

      Now XML::FeedPP allows two-digit date format.
      Thanks to Illtud Daniel and Anthony DeRobertis.
      http://rt.cpan.org/Public/Bug/Display.html?id=36890
      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503260

      I've also added a test code for Anthony's patch.
      Version 0.36 updated will be soon available on CPAN:
      http://search.cpan.org/dist/XML-FeedPP/

      Or directly get it from my website:
      http://www.kawa.net/works/perl/feedpp/feedpp-e.html

      --
      Kawasaki Yusuke
      http://www.kawa.net/



      On Fri, Oct 24, 2008 at 5:44 PM, Adrian von Bidder wrote:
      > Hi,
      >
      > I'm Adrian von Bidder, a Debian developer, and I have created a Debian
      > package of XML::FeedPP a while ago.
      >
      > A fellow Debian user has noticed that FeedPP doesn't support two-digit years
      > (the RFC1123 standard says it should), and has written a bug report
      > including patch against 0.34 at <http://bugs.debian.org/503260>
      >
      > I'll update the Debian package to 0.35 in the near future, but I guess I'll
      > adapt the patch to work with 0.35 (and add it to the bug report). I'd be
      > happy if you could consider adding it (or some other equivalent
      > modification) to the next FeedPP version as well.
      >
      > cheers
      > -- vbi
      >
      > --
      > You are what you see.


      On Sat, Jun 21, 2008 at 2:54 AM, Illtud Daniel via RT
      <bug-XML-FeedPP@...> wrote:
      > Fri Jun 20 13:54:17 2008: Request 36890 was acted upon.
      > Queue: XML-FeedPP
      > Subject: XML::FeedPP doesn't seem to accept two-digit date format
      > Broken in: (no value)
      > Severity: (no value)
      > Owner: Nobody
      > Status: new
      > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=36890 >
      >
      >
      > XML::FeedPP version 0.35 doesn't seem to handle a two-digit date
      > format (eg 08 for 2008) in the pubDate field of RSS.
      >
      > The RSS spec says that although a 4-digit year is preferable,
      > a two digit field is OK.
      >
      > eg,
      > <pubDate>Tue, 26 Aug 08 11:00:00 GMT</pubDate>
      >
      > comes out as:
      >
      > 0008-08-26T11:00:00Z
      >
      > instead of:
      >
      > 2008-08-xxxx
      >
      > --
      > Illtud Daniel
      > Uwch Ddadansoddwr Systemau Senior Systems Analyst
      > Llyfrgell Genedlaethol Cymru National Library of Wales
      > Yn siarad drosof fy hun, nid LlGC - Speaking personally, not for NLW
    Your message has been successfully submitted and would be delivered to recipients shortly.