title: VueJS: How to bind a datetime?
body: <p>I receive from a WebAPI a JSON object that has this property:</p>
  
  <pre><code>"BirthDate": "2018-02-14T15:24:17.8177428-03:00",
  </code></pre>
  
  <p>the HTML:</p>
  
  <pre><code>&lt;input type="date" v-model="BirthDate" /&gt;
  </code></pre>
  
  <p>I bind that object using VueJS, but
  VueJS give this message in the console:</p>
  
  <pre><code>The specified value "2018-02-14T15:24:17.8177428-03:00" does not conform to the required format, "yyyy-MM-dd".
  </code></pre>
  
  <p>On this case the only relevant part is 2018-02-14, I can discard the other information.</p>
  
  <p>I tried to create a Two Way filter to convert that Date Time to the required format but did not have success. See <a href="https://stackoverflow.com/questions/48793564/vuejs-two-way-filter">VueJS two way filter</a></p>
  
  <p>How can I convert and bind that Date/Time format to the required Date Format of the HTML date input ?</p>