I am currently working on some widget coding for hotel reservations and am using jQuery UI Date Picker.
The problem is the external booking system, in which the client uses date format processes like yyyy-mm-dd, and the client believes that this confuses people who see 2012-06-19in the input field and would like the date to be shown in the European format dd-mm-yyyyinstead on their website.
Thus, basically the form should show dd-mm-yyyywhen the date is selected, and then when the submit button clicks on the form one way or another, you must rearrange the values before submitting yyyy-mm-dd.
The reservation system company said that they have many customers who have achieved this, but said that they are not 100% sure how to do this.
source
share