It may be too late, but since I did some research on Google and I came here, I am posting my solution. I think you have an input type for datepicker, for example:
<input id="date" type="text" name="date">
If you want to set the language standard according to your visitors and a predefined date format for further definition, you can initiate your datepicker as follows:
$(function() { $('#date').datepicker(); $('#date').datepicker("option",$.datepicker.regional["<<your_variable_locale>>"]); $('#date').datepicker("option","dateFormat","dd/mm/yy"); });
It will change the default English format, i.e. mm / dd / yy
The documentation is not very clear how to combine parameters such as regional and date format, but it works for me in Firefox.
source share