Skip Menu |

This queue is for tickets about the XML-FeedPP CPAN distribution.

Report information
The Basics
Id: 36890
Status: resolved
Priority: 0/
Queue: XML-FeedPP

People
Owner: Nobody in particular
Requestors: illtud.daniel [...] llgc.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: XML::FeedPP doesn't seem to accept two-digit date format
Date: Tue, 17 Jun 2008 18:08:22 +0100
To: bug-XML-FeedPP [...] rt.cpan.org
From: Illtud Daniel <illtud.daniel [...] llgc.org.uk>
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 illtud.daniel@llgc.org.uk 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
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 for Anthony's patch. Version 0.36 updated will be soon available on CPAN: http://search.cpan.org/dist/XML-FeedPP/ Or directly get from my website: http://www.kawa.net/works/perl/feedpp/feedpp-e.html