Datepicker and form_state with different formats
1.Add a js file to the module and 
2.In the js add the following code using the id of date field 
to change the date format of the date picker
3.check the link for reference

$( ".selector" ).datepicker({ dateFormat: "yy-mm-dd" });