title: How to fix parsing error by moment.js on Safari?
body: <p>How to fix parsing error by moment.js?</p>
  
  <pre><code>Const.DATE_MONTH_FORMAT = 'DD-MMM-YYYY';
  var fromDate = moment(new Date(period.fromDate)).format(Const.DATE_MONTH_FORMAT);
  </code></pre>
  
  <p>On Firefox, Chrome: <code>19-Aug-2016</code></p>
  
  <p>On Safari: <code>Invalid date</code></p>
  
  <p>On Firefox:
  <code>console.debug(period);</code></p>
  
  <pre><code> Object { fromDate="19/Aug/2016",  toDate="30/Aug/2016"}
  </code></pre>