title: How to use jquery globalize with jquery validate unobtrusive in mvc 5
body: <p>i use mvc 5 but the jquery validate unobtrusive validates the date as MM/dd/yyyy and when i searched how to make it validates dd/MM/yyyy</p>
  
  <p>i found jquery globalize to achieve this but i dont find any examples for the current version Globalize v1.1.2</p>
  
  <p>All the examples i found is for the versions less than 1.x</p>
  
  <p>The view</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="form-group"&gt;
      @Html.LabelFor(model =&gt; model.Date, htmlAttributes: new { @class = "control-label col-md-2" })
      &lt;div class="col-md-10"&gt;
          @Html.EditorFor(model =&gt; model.Date, "dd/MM/yyyy", new { htmlAttributes = new { @class = "form-control" } })
          @Html.ValidationMessageFor(model =&gt; model.Date, "", new { @class = "text-danger" })
      &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The metadata specified the date to be dd/MM/yyyy</p>
  
  <pre><code>    [Required(ErrorMessage = " الحقل مطلوب ")]
      [DisplayName("تاريخ ")]
      [DisplayFormat(DataFormatString = "{dd/MM/yyyy}", ApplyFormatInEditMode = true)]
      public DateTime Date { get; set; }
  </code></pre>
  
  <p>although that jquery validate unobtrusive validates the date as MM/dd/yyyy</p>
  
  <p><a href="https://i.stack.imgur.com/2xdsm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2xdsm.jpg" alt="enter image description here"></a></p>