title: How to convert localized date string to date object using moment
body: <p>Using moment how can we convert localized date string to javascript date object?
  Followed below steps, but got Current Output(check below).</p>
  
  <p>How can we get Expected Output? </p>
  
  <p>Could you please help me.</p>
  
  <p>Ex: Setting moment locale as <code>'fr'</code></p>
  
  <pre><code>moment.defineLocale('fr', [localeObject][1]);
  </code></pre>
  
  <p>Now we get the date string as <strong>"27 févr. 2020 18:23:50"</strong> </p>
  
  <p>How can we convert it as dateobject?</p>
  
  <pre><code>moment("27 févr. 2020 18:23:50")
  </code></pre>
  
  <p><strong>Expected output:</strong> </p>
  
  <blockquote>
    <p>Thu Feb 27 2020 18:23:50 GMT+0530 (India Standard Time)</p>
  </blockquote>
  
  <p><strong>Current Output:</strong> </p>
  
  <blockquote>
    <p>Invalid Date</p>
  </blockquote>