Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TillaTheHun0
Copy link

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.

@Adza93
Copy link

Adza93 commented Jan 31, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants