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

Wrong year after set init date #86

Open
javadghane opened this issue Feb 17, 2022 · 1 comment
Open

Wrong year after set init date #86

javadghane opened this issue Feb 17, 2022 · 1 comment
Assignees
Labels

Comments

@javadghane
Copy link

javadghane commented Feb 17, 2022

Hi, thanks for this great library.
when i set the init date like this:
picker.setInitDate(1398,12,20)
then using 'show' method, the year on the dialog is current year and showing wrong.

@aliab aliab added the bug label Mar 6, 2022
@aliab aliab self-assigned this Mar 6, 2022
@Hoss3inf
Copy link
Contributor

@javadghane it turns out that in order to be able to set initDate, you should set maxYear().
set, for instance, maxYear(1410) and you are good to go

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

No branches or pull requests

3 participants