Never seen this issue before, very strange! Basically I have a simple datepicker:
<input data-val="true" data-val-required="The StartDate field is required." id="StartDate" name="StartDate" readonly="True" type="text" value="12/12/2013 00:00:00" />
<script>
$("#StartDate").datepicker({ dateFormat: 'yy-mm-dd' });
</script>
But when I pick a date, it appears in the text box in the format '2013-12-dd'. Anybody seen this problem before?
EDIT
Here is the code that is generating the html input element:
@Html.TextBoxFor(x => x.StartDate, new {@readonly=true})