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

Datepicker shows incorrect year when only 2 year digits are entered calendar is expanded #4

Open
prithvipatil opened this issue Jan 26, 2022 · 0 comments

Comments

@prithvipatil
Copy link

Issue can be simulated using nachocalendar-demo-0.23.jar.

If you manually enter only last 2 digits of year into the DateField and if you click on down arror to expand the calendar:

  • When year value is <=42, Popup shows years starting with 20xx. Where xx is the 2 digit year value you had entered manually.
  • When year value is >=43, Popup shows years starting with 19xx. Where xx is the 2 digit year value you had entered manually.

Please refer to the attached GIF file for the simulation of the issue.

What can be done to fix this behavior? I expect DateField to always shows years starting with 20xx.

nachocalendar_bug

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