Hi,

whilst adapting News Sniffer[1] to the new Have Your Say RSS feed
format, I found some mangled timestamps with the time exceeding 24:00:00.

For example, in the recent "Pinochet death" thread[2] feed[3] there is
an item with a dc:date field of "2006-12-11T24:40:03+0000".  The pubDate
field translates this to "Mon, 11 Dec 2006 00:40:03 +0000".

Even if the poster (Alex Golzari) lives on Mars he'd have trouble
posting a comment with this time stamp.  This leaves only Mercury and
Venus.  Either than or a bug in the HYS software.

Assuming a bug, I've written a workaround for News Sniffer but you might
want to look into this.  I can't find a time format standard that allows
times exceeding 24:00:00.

John.
http://johnleach.co.uk

[1]http://newssniffer.newworldodour.co.uk
[2]http://newsforums.bbc.co.uk/nol/thread.jspa?threadID=4954
[3]http://newsforums.bbc.co.uk/nol/rss/rssmessages.jspa?threadID=4954&numItems=500
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/[email protected]/

Reply via email to