Open likenny9 opened 3 years ago
Thanks for opening your first issue! :wave: If you have found this library helpful, please star it. A maintainer will try to respond within 7 days. If you haven’t heard anything by then, please bump this thread.
This issue has been automatically marked as stale, because it has not had recent activity. It will be closed if no further activity occurs. Maintainers are responsible for tech debt and project health. This is most likely a new components or component feature request. Please submit a pull request for or request feedback on this feature. Thank you.
Currently, the date picker allows the user to set the range of years to display in the calendar. This is always relative to the current year in the Gregorian calendar (e.g. this year it is 2021). While this is fine for most instances, for alternative calendars like the Thai Buddhist calendar, the year is always +543 of the current year, so this year is 2564.
It is possible to pick from that year if the range is expanded, but it will always include 2021 as the base, which means, when the user is in th-TH locale, there will be over 500 possible year selections on the calendar, which may not be the best in terms of user experience.
Ideally, we can let the user choose the base year (default would be current year), or automatically base it off of the user's locale.