My Wordpress settings for date are mm/dd/yyyy. on the date picker on my form after the visitor picks a date, the field reads dd/mm/yyyy. Why and how do I fix this?
My Wordpress settings for date are mm/dd/yyyy. on the date picker on my form after the visitor picks a date, the field reads dd/mm/yyyy. Why and how do I fix this?
The jQuery Date picker will not abide by your WordPress date format. You can set the date format for the date picker by adding some javascript to the page where your form is embedded. Here are the docs to do that: http://docs.jquery.com/UI/Datepicker/formatDate
Thank you!
If you can provide further assistance please? I went into the page where the form is embedded and I added the following to the HTML tab while editing in the dashboard:
<script type="javascript/text">
$.datepicker.formatDate('mm-dd-yyyy);
</script>
However it still produced dd-mm-yyyy