Changing datepicker's date format
Hi,
My datepicker works well except that the date it outputs in my input field is like mm-dd-yy, whereas I want dd-mm-yy.
I tried to use formatDate :
$( "#timeline" ).datepicker({ disabled: true });
$.datepicker.formatDate('yy-mm-dd', new Date(2007, 1 - 1, 26));
But it doesn't change anything! Anybody knows why ?