How to choose prohibit retroactive date in the package "tsega:bootstrap3-datetimepicker"

I have a question about the package “tsega:bootstrap3-datetimepicker”.

In the template I have placed code:

                    <div class="nowe-wydarzenie form-group">
                  <label class="control-label" for="nowe-wydarzenie-start-date">Data</label>
                   <div class="input-group datetimepicker">
                      <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                      <input type="text" class="form-control" id="nowe-wydarzenie-start-date" data-id="nowe-wydarzenie-start-date" name="noweWydarzenieStartDate" placeholder="Podaj datę rozpoczecia wydarzenia" autocapitalize="none" autocorrect="off" value="">
                    </div>
                    <span class="help-block hide"></span>
                </div>

and the js file I added the following code:

Template.newWydarzenie.onRendered(function() {
    this.$('.datetimepicker').datetimepicker({
    });
});

With these settings, I have the opportunity to choose the date of bark already passed (01.01.2016)

I would like to block such a choice.

How to set the this package so that it was not possible to select reverse date.

Look at the minDate option:

Template.newWydarzenie.onRendered(function() {
  this.$('.datetimepicker').datetimepicker({
    minDate: '11/1/2013'
  });
});

Super. This allows you to set the initial value, just like yesterday block or a full hour has just passed.

Thanks for your help now I just have to write a function which will return yesterday’s date

this.$(’.datetimepicker’).datetimepicker({ minDate: ‘now’ });