title: Vue datepicker locale and text box format
body: <p>I am newbie in Vue when I design <code>datepicker</code> like below steps<br />
  1- Vue design (I copied from Vue source site) :</p>
  <pre><code>&lt;v-menu ref=&quot;menu1&quot;
          v-model=&quot;menu1&quot;
          :close-on-content-click=&quot;false&quot;
          transition=&quot;scale-transition&quot;
          offset-y
          full-width
          max-width=&quot;290px&quot;
          min-width=&quot;290px&quot;&gt;
      &lt;template v-slot:activator=&quot;{ on }&quot;&gt;
          &lt;v-text-field v-model=&quot;fromDate&quot;
                          label=&quot;from date&quot;
                          hint=&quot;MM/DD/YYYY format&quot;
                          persistent-hint
                          prepend-icon=&quot;event&quot;
                          v-on=&quot;on&quot; outlined&gt;&lt;/v-text-field&gt;
      &lt;/template&gt;
      &lt;v-date-picker v-model=&quot;fromDate&quot; no-title @input=&quot;menu1 = false&quot; locale=&quot;fa&quot; outlined&gt;&lt;/v-date-picker&gt;
  &lt;/v-menu&gt;
  </code></pre>
  <p>date variable:</p>
  <pre><code>fromDate: new Date().toLocaleDateString('fa-IR');
  </code></pre>
  <p>by above config date will appear in text box but when <code>datepicker</code> opened there is nothing that user can selected, like below screenshot:</p>
  <p><a href="https://i.stack.imgur.com/hqV7d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hqV7d.png" alt="enter image description here" /></a></p>
  <p>but when I change the date variable like this:</p>
  <pre><code>fromDate: new Date().toISOString().substr(0, 10)
  </code></pre>
  <p><code>datepicker</code> will open but the value in text box still is Gregorian like:</p>
  <p><a href="https://i.stack.imgur.com/EQAnA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EQAnA.png" alt="enter image description here" /></a></p>
  <p>why when we set <code>locale</code> of <code>datepicker</code> the value in <code>textbox</code> will appear in Gregorian format.</p>