What date format to use in moment.js?
<p>I'm using <code>moment.js</code> to get a UTC date offset.</p>

<p>I have the following code, which gives me the offset, but I get the warning <code>"Deprecation warning: moment construction falls back to js Date"</code>.</p>

<pre><code>var s = booking.booking_date_time.toString();
console.log(moment(s).parseZone(s).utcOffset());
</code></pre>

<p>The <code>s</code> variable above is set to <code>"Mon Jun 13 2016 08:00:00 GMT+1000 (AUS Eastern Standard Time)"</code>. </p>

<p>I know that to get ride of the warning, I need to specify the date format in moment, but I'm not sure what the date format should be. I've tried this format <code>"EEE MMM dd yyyy HH:mm:ss ZZ"</code>, but that doesn't work. </p>