background.js
// converts the text date into a formatted one if possible
converts the text date into a formatted one if possible
converts the text date into a formatted one if possible
function GetFormattedDate(txtDate)
{
	var myDate = GetDate(txtDate);
	if(myDate == null)
	{
	    return txtDate;
	}
	return FormatDate(myDate, options.dateformat);
}
function GetFormattedDate ( txtDate ) { var myDate = GetDate ( txtDate ) ; if ( myDate == null ) { return txtDate ; } return FormatDate ( myDate , options . dateformat ) ; }
converts the text date into a formatted one if possible
converts the text date into a formatted one if possible