components/range-slider/snippets/range-slider.js
function formatDate ( date ) {
			return weekdays[date.getDay()] + ", " +
				date.getDate() + nth(date.getDate()) + " " +
				months[date.getMonth()] + " " +
				date.getFullYear();
		}
function formatDate ( date ) {
			return weekdays[date.getDay()] + ", " +
				date.getDate() + nth(date.getDate()) + " " +
				months[date.getMonth()] + " " +
				date.getFullYear();
		}
function formatDate ( date ) { return weekdays [ date . getDay ( ) ] + ", " + date . getDate ( ) + nth ( date . getDate ( ) ) + " " + months [ date . getMonth ( ) ] + " " + date . getFullYear ( ) ; }
Create a string representation of the date.
Create a string representation of the date .