title: Why is iPhone iOS showing invalid date for momentjs
body: <p>I have a datepicker which was returning a moment object that was always in UTC timezone. I needed to do some logic on this date, but always wanted it in the users local timezone so I did the following:</p>
  <pre><code>    //strip submission date of timezone offset
      let submission_date = moment(this.state.startDate).format('YYYY-MM-DD hh:mm:ss a');
      submission_date = moment(submission_date);
      let last_date = this.last_date.diff(submission_date, 'days');
  </code></pre>
  <p>However, when I do this my iPhone complains that <code>submission_date</code> is not a valid date. Desktop is fine so I'm guessing this is a safari issue. When I inspect <code>this.state.startDate</code> just prior to being momentized it's a string like <code>2018-11-01T17:52:44-00:00</code></p>
  <p>Shouldn't moment accept that as a valid date?</p>