I've got a script and i want to format a date out to short date format ie:
7/3/2013 or 7/3/13 the first date format renders like that in Chrome but every other browser it does not - it displays the date month name and the year.
function dateFormatter(date) {
return date.toLocaleDateString();
}
Bit confused as to why this is happening. Is it because that browser doesnt support tolocalDateString();
Would i need to build a custom date string in order for it to work?
Sorry if its a little vague - I've had a look on W3C website but dont trust that site at times.