I'm using ROME 1.0, Manifest.mf says: Build-Jdk: 1.6.0_10.
The problem is that RSS provider supplies PublishedDate in wrong format (timezone is missing) and ROME returns null on SyndEntry.getPublishedDate();
Maybe it is possible to refine parsing procedure somehow. In worst case scenario maybe return as PublishedDate value from LastBuildDate or else, but not null.
Here is the link with wrong date format:
It returns (well, at least, how it looks like in Chrome, and IE8):
<pubDate>WED,23 MAY 2012 02:23:01</pubDate> // no space after week day, time zone is missing
but has to be like:
<pubDate>WED, 23 MAY 2012 02:23:01 GMT</pubDate>
Any comments, ideas?
I also have seen this issue. In an RSS Feed I was trying to parse, I encountered:
<pubDate>Sat, 25 Aug 2012</pubDate>
instead of the correctly formatted:
<pubDate>Sat, 25 Aug 2012 15:39:00 EDT</pubDate>
I would appreciate if better date parsing support was added. If only the date is found, and not the time, I recommend the time be assumed to be midnight so that a proper Date object can be returned instead of null.
I discovered a solution by reading DateParser.
Put one or some custom date formats in rome.properties: datetime.extra.masks=yyyy-MM-dd'T'HH:mm:ss|other_format