OK so fixed this by updating the following line from
$output .= ‘jQuery(“.datepicker”).datepicker();’;
to
$output .= ‘jQuery(“.datepicker”).datepicker({ dateFormat: “yy-mm-dd” });’;
Thank you for all the help
OK so fixed this by updating the following line from
$output .= ‘jQuery(“.datepicker”).datepicker();’;
to
$output .= ‘jQuery(“.datepicker”).datepicker({ dateFormat: “yy-mm-dd” });’;
Thank you for all the help