cordova-plugin-datepicker icon indicating copy to clipboard operation
cordova-plugin-datepicker copied to clipboard

allowOldDates on Android

Open ghost opened this issue 7 years ago • 3 comments

Obviously allowOldDates only works on iOS for this plugin, but does anyone know how to make it work for Android too?

ghost avatar Mar 09 '17 22:03 ghost

isn't it just the same as setting the minDate to the current date if allowOldDates is false?

Fatal-Errol avatar Apr 17 '17 00:04 Fatal-Errol

That doesn't work either. Unfortunately it seems like this project is abandoned.

pvanhemmen avatar Sep 28 '17 09:09 pvanhemmen

It works fine: minDate: new Date().valueOf() You have to set it with a Unix timestamp

nikmartin avatar Oct 03 '17 16:10 nikmartin