Check if date match with format using momentjs
<p>I try to check if a date match with format using momentjs. But I have error when date include time zone.</p>

<p>Example:</p>

<pre><code>moment('Mon Nov 10 2016 14:53:17', 'ddd MMM DD YYYY HH:mm:ss', true).isValid() 
</code></pre>

<p>in this case the response is true without errors.
but in this other case, I not found the correct date format to compare</p>

<pre><code>moment('Mon Nov 10 2016 14:53:17 GMT-0500 (ECT)', '?????', true).isValid() 
</code></pre>