cordova-plugin-datepicker
cordova-plugin-datepicker copied to clipboard
Allow Date object to be used for minDate & maxDate on Android, like iOS
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.
This is working perfectly. It should be merged to master branch. Does anybody still works on this plugin or it changed repo maybe?