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

maxDate is capped to 2100 #737

Open
kronstein opened this issue Jul 29, 2021 · 0 comments
Open

maxDate is capped to 2100 #737

kronstein opened this issue Jul 29, 2021 · 0 comments

Comments

@kronstein
Copy link

I have a requirement to allow users to select dates after December 31, 2100.

This code not working properly on 4.2.3:

        datePickerDialog.minDate = Date(1910, Calendar.JANUARY, 1).calendar
        datePickerDialog.maxDate = Date(2235, Calendar.DECEMBER, 31).calendar
        datePickerDialog.show(parentFragmentManager, "datePicker" + dateView?.id.toString())

Max year is capped to 2100.

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

No branches or pull requests

1 participant