zRSSFeed - Formatting RSS feed dates

Example showing to format feed dates using the 'dateformat' option.

Script

$(document).ready(function () {
	$('#test1').rssfeed('http://feeds.reuters.com/reuters/oddlyEnoughNews',{
		limit: 3,
		dateformat: 'datetime'
	});

	$('#test2').rssfeed('http://feeds.reuters.com/reuters/oddlyEnoughNews',{
		limit: 3,
		dateformat: 'timeline'
	});

	$('#test3').rssfeed('http://feeds.reuters.com/reuters/oddlyEnoughNews',{
		limit: 3,
		dateformat: 'dd/MM/yyyy hh:mm:ss'
	});
});

Result 1: Pre-defined option 'datetime' (default)

Result 2: Pre-defined option 'timeline'

Result 3: Custom format example 'dd/MM/yyy hh:mm:ss'