Fix parameter order on $.datepicker.formatDate calls.