title: Tempus Dominus minDate counld not parse
body: <p>First time using <code>Tempus Dominus Datetimepicker</code> for <code>Bootstrap 4</code>.</p>
  
  <p>In my code I have:</p>
  
  <pre><code>var dateFormat = 'DD-MM-YYYY';
  var CurrDate   = '27-06-2018';
  var MinDate    = '27-06-1918';
  var MaxDate    = '27-06-2018';
  </code></pre>
  
  <p>I then convert the dates to <code>moment</code> objects:</p>
  
  <pre><code>dateMin = moment(CurrDate, dateFormat);
  dateMin = moment(MinDate, dateFormat);
  dateMax = moment(MaxDate, dateFormat);
  </code></pre>
  
  <p>I can see the <code>moment</code> objects in <code>console.log()</code>, dates are correct.</p>
  
  <pre><code>Moment {_isAMomentObject: true, _i: "27-06-2018", _f: "DD-MM-YYYY", _isUTC: false, _pf: {…}, …}
  Moment {_isAMomentObject: true, _i: "27-06-1918", _f: "DD-MM-YYYY", _isUTC: false, _pf: {…}, …}
  Moment {_isAMomentObject: true, _i: "27-06-2018", _f: "DD-MM-YYYY", _isUTC: false, _pf: {…}, …}
  </code></pre>
  
  <p>I then initialise the <code>datetimepicker</code> like this:</p>
  
  <pre><code>// Initialize Stand Alone datetimepicker
  $('#myDiv').datetimepicker({
      format: dateFormat,
      date: dateCurr,
      minDate: dateMin,
      maxDate: dateMax,
  });
  </code></pre>
  
  <p>But it fails with:</p>
  
  <pre><code>minDate() Could not parse date parameter: NaN
  </code></pre>
  
  <p>Why is the <code>datepicker</code> not happy with a <code>moment</code>? The <a href="https://tempusdominus.github.io/bootstrap-4/Options/#minmaxdate" rel="nofollow noreferrer">instructions here</a> say it should work. Have I missed / messed up something?</p>