title: Parse date with moment.js with locales
body: <p>I am getting an "Invalid date" error when I translate my dates from Spanish to English with <strong><a href="http://momentjs.com" rel="noreferrer">moment.js</a></strong> (with locales). The weird thing here, is that only fails with some dates.</p>
  
  <p>I have a list of dates, apparently of the same format (they were parsed before using the same library). Then when I parsed it again after change the moment.js locale (To translate my dates to the desired language) I get this:</p>
  
  <pre><code>Enero 13º 2017, 6:00:02 Am --&gt; Invalid date
  Abril 17º 2017, 7:36:03 Pm --&gt; Invalid date
  Abril 17º 2017, 6:00:01 Am --&gt; Invalid date
  Mayo 12º 2017, 2:04:19 Pm   --&gt; May 12th 2017, 2:04:19 Pm
  Abril 17º 2017, 11:47:17 Pm --&gt; Invalid date
  </code></pre>
  
  <p>Parse Method (format is initialized here because in other moments it can get other values):</p>
  
  <pre><code>format = 'MMMM Do YYYY, h:mm:ss a';
  $(".videoDate").each(function(){
      var _text = $(this).text();//Extract initial date
      var _date = moment(_text, format).format('MMMM Do YYYY, h:mm:ss a');//format
      $(this).text(_date);//new date setting
  });
  </code></pre>
  
  <p><a href="http://jsfiddle.net/gr1zdtag/" rel="noreferrer">http://jsfiddle.net/gr1zdtag/</a></p>
  
  <p>Maybe I am missing something but I don't find the reason yet. Can any help me with this problem?</p>