0
I am using the Datepicker plugin to receive a date, I can get the date normally, the problem occurs when I use the property minDate, in my understanding, this would be a minimum date for selection, but when I set a date in the property, nothing happens, there is some specific date format for Android?
getDateFinal() {
    this.datePicker.show({
      date: new Date(),
      mode: 'date',
      minDate: new Date(),
      androidTheme: this.datePicker.ANDROID_THEMES.THEME_HOLO_DARK
    }).then(
      date => this.dataFinal = this.sharedProvider.transformDate(date),
      err => console.log('Error occurred while getting date: ', err)
    );
  }
Documentation: https://ionicframework.com/docs/v3/native/date-picker/
So man, I got it solved here, really need to call the getTime() method on Android.
– renanvm