Re: [rt.cpan.org #36890] XML::FeedPP doesn't seem to accept two-digit date format
- View SourceNote that XML::FeedPP version 0.36 was released.
* RFC1123 and RSS spec allow two-digit date format
(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
Now XML::FeedPP allows two-digit date format.
Thanks to Illtud Daniel and Anthony DeRobertis.
I've also added a test code for Anthony's patch.
Version 0.36 updated will be soon available on CPAN:
Or directly get it from my website:
On Fri, Oct 24, 2008 at 5:44 PM, Adrian von Bidder wrote:
> 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.
> -- vbi
> You are what you see.
On Sat, Jun 21, 2008 at 2:54 AM, Illtud Daniel via RT
> 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.
> <pubDate>Tue, 26 Aug 08 11:00:00 GMT</pubDate>
> comes out as:
> instead of:
> 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