title: scHow to change Datepicker format Materializecss
body: <p>I am trying to display and collect date is this format <code>'m/d/yyyy'</code> looking into document I tried constructing below code but it does not seem to work:-</p>
  
  <pre><code>  document.addEventListener('DOMContentLoaded', function() {
  
      var delems = document.querySelectorAll('.datepicker');
      var dinstances = M.Datepicker.init(delems,'m/d/yyyy');
  });
  </code></pre>
  
  <p>The out put I am getting is default and not the one I constructed.</p>
  
  <p>This is how it appears currently:- 
  <a href="https://i.stack.imgur.com/RJLtC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RJLtC.png" alt="enter image description here"></a></p>