title: DateTimePicker changing format based on locale
body: <p>The datepicker included i chrome browser allow the users to select dates. The user will see the date in a format and the input value will be always in the format: "YYYY-MM-DD".</p>
  
  <p>I want the same behavior when using <a href="https://github.com/Eonasdan/bootstrap-datetimepicker" rel="nofollow">bootstrap-datetimepicker</a>.</p>
  
  <p>If I specify the format when initializing the plugin like this </p>
  
  <pre><code>$('.date-picker').datetimepicker({
      format: 'DD/MM/YYYY'
  });
  </code></pre>
  
  <p>when I get the input value it's in the same format, 'DD/MM/YYYY'. I want it to be in the standard format which is "YYYY-MM-DD".</p>
  
  <p>Same thing when I specify the locale.</p>
  
  <pre><code>$('.date-picker').datetimepicker({
      locale: 'fr'
  });
  </code></pre>
  
  <p>Can any one help me?</p>
  
  <p>Thank you very much</p>