Atom Entry updated date format

View: New views
1 Messages — Rating Filter:   Alert me  

Atom Entry updated date format

by Jasha Joachimsthal-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

the feed I'm parsing has the following date format for the updated and published fields yyyy-MM-dd'T'HH:mm:ssZ (e.g. 2008-06-03T10:45:00+02:00). This format seems valid according to [1]. In DateParser this format is not present so I tried adding it in my rome.properties. My (custom) format is ignored because Atom10Parser calls DateParser.parseW3CDateTime() instead of DateParser.parseDate() for both updated and published.

[1] http://www.atomenabled.org/developers/syndication/atom-format-spec.php#date.constructs

Is this a bug in Rome or am I wrong about the validity of the date?

Regards,

Jasha Joachimsthal
LightInTheBox - Buy quality products at wholesale price