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

Allow Date object to be used for minDate & maxDate on Android, like iOS

Open TillaTheHun0 opened this issue 7 years ago • 1 comments

This PR contains changes that make the minDate & maxDate api the same for Android and iOS. Before, users had to check the platform and transform their date, eg. using .valueOf() to transform it into milliseconds, before passing it to this plugin. With these changes, both platforms can pass a Date object and it will be transformed appropriately.

TillaTheHun0 avatar Oct 05 '17 20:10 TillaTheHun0

This is working perfectly. It should be merged to master branch. Does anybody still works on this plugin or it changed repo maybe?

Adza93 avatar Jan 31 '20 14:01 Adza93