title: Not expected date format - Difference between ng and date input type
body: <p>I have a form with some date type inputs in a HTML5 page, I want to get the value with Angular. It takes a non expected format as shown on the <a href="http://i.stack.imgur.com/9Caqe.png" rel="nofollow">screenshot</a>. The input type is date and not datetime. </p>
  
  <p>I tested to send this form, I receive the right expected dates so <strong>the question is how to get the right dates in angulare ?</strong> </p>
  
  <p>Thank you for your help ! </p>
  
  <p>Here is the code : </p>
  
  <pre><code>&lt;fieldset&gt;
  
                 &lt;div class="form-group"&gt;
                      &lt;label for="start_date" class="col-sm-2 control-label"&gt;Date de début&lt;/label&gt;
                      &lt;div class="col-sm-10"&gt;
                         &lt;input type="date" name="start_date" ng-model="start_date" class="form-control" required="required"&gt;
                      &lt;/div&gt;
                &lt;/div&gt; 
  
                &lt;div class="form-group"&gt;
                      &lt;label for="end_date" class="col-sm-2 control-label"&gt;Date de fin&lt;/label&gt;
                      &lt;div class="col-sm-10"&gt;
                         &lt;input type="date" name="end_date" ng-model="end_date" class="form-control" required="required"&gt;
                      &lt;/div&gt;
                &lt;/div&gt;
  
                &lt;div class="form-group"&gt;
                   &lt;label for="input" class="col-sm-2 control-label"&gt;Type de contact:&lt;/label&gt;
                   &lt;div class="col-sm-2"&gt;
                      &lt;select ng-model="type" id="input" class="form-control" required="required"&gt;
                         &lt;option value="all"&gt;Tous&lt;/option&gt;
                         &lt;option value="fiche"&gt;Demande de renseignements ( DR )&lt;/option&gt;
                         &lt;option value="telephone"&gt;Demande de rappel&lt;/option&gt;
                         &lt;option value="contact"&gt;Général&lt;/option&gt;
                      &lt;/select&gt;
                   &lt;/div&gt;
                &lt;/div&gt;
  
                &lt;div class="form-group"&gt;
                   &lt;div class="col-sm-10 col-offset-2"&gt;
                      &lt;button type="submit"  ng-click="getcontacts(start_date, end_date, type);" class="btn btn-primary"&gt;Lancer la recherche&lt;/button&gt;
                   &lt;/div&gt;
                &lt;/div&gt;
  
  
                {{ start_date}} {{end_date}} {{ type }}
  </code></pre>