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: 'date'
	});

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

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

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

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

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

Result 2: Pre-defined option 'date'

Result 3: Pre-defined option 'time'

Result 4: Pre-defined option 'timeline'

Result 5: Custom format example 'dd/MM/yyyy hh:mm:ss'

Result 6: Custom format with month names 'MMMM yyyy'