zaman
zaman copied to clipboard
Year Selector bug
Describe the bug
When the current selected day (the value of defaultValue prop) is the first day of a leap year, the year selector doesn't work!
To Reproduce Steps to reproduce the behavior:
- Pick
1403/01/01. - Click on the year selector, and try to select
1403(it will open the 1403 itself) or1402(it will open 1401) - you can try it on another leap year like1399/01/01as well and try to change the year to1398or1400