title: MVC jQuery datepicker returns dd/MM/yyyyyyyy
body: <p>I've added a jQuery Datepicker to an EditFor with a POCO model.
  But I’m having a weird behaviour in the browser when I select a date in the DatePicker: the textbox presents the date in this format: "dd/MM/yyyyyyyy"
  Here a sample code that reproduces that:
  The Person model:</p>
  
  <pre><code>public class PersonModel
  {
      public string PersonID { get; set; }
      public string Nombre { get; set; }
  
      [DataType(DataType.Date)]
      [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
      public DateTime DoB { get; set; }
  }
  </code></pre>
  
  <p>The view:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
      @Html.LabelFor(model =&gt; model.Nombre, new { @class = "control-label col-md-2" })
      &lt;div class="col-md-10"&gt;
          @Html.EditorFor(model =&gt; model.Nombre)
          @Html.ValidationMessageFor(model =&gt; model.Nombre)
      &lt;/div&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>The DateTime.cshtml view</p>
  
  <pre><code>@model System.DateTime
  @Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue,
                      new { data_datepicker = true });
  </code></pre>
  
  <p>The test.js</p>
  
  <pre><code>    $(document).ready(function () {
      $('#DoB').datepicker({
          dateFormat: "dd/mm/yyyy"
      });
  });
  </code></pre>
  
  <p>The Create Action that sends the model to the view</p>
  
  <pre><code>public ActionResult Create()
      {
          var person = new PersonModel();
          person.PersonID = Guid.NewGuid().ToString();
          person.DoB = DateTime.Today.AddYears(-30);
          return View(person);
      }
  </code></pre>
  
  <p>All css and js files are added in the BundleCondig.cs file. 
  Thanks for your help.</p>