Date Format in European
-
The dates from our reservation calendars are coming in as European format dd-mm-yy. I tried changing line 7 in assts/js/custom.js.
12345678910111213141516<br />// Add Calendar to ID<br />function ST_Add_Calendar(id){<br />jQuery('<div class="calendar" />')<br />.insertAfter( jQuery(id) )<br />.datepicker({<br />dateFormat: 'mm-dd-yy',<br />minDate: new Date(),<br />maxDate: '+1y',<br />altField: id,<br />firstDay: 1,<br />showOtherMonths: true,<br />dayNamesMin: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],<br />beforeShowDay: ST_Date_Available })<br />.prev().hide();<br />}<br />
Nothing changes, it still comes in the same way.