I switched from date_select
to jQuery UI Datepicker and when I am trying to subtract the dates to get the number of days between those days I am getting the following error.
The date format for date_select is year/month/day however the format for the jQuery Datepicker is month/day/year. How can I combat this issue and still use Datepicker?