Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent year navigation beyond available data range in calendar
- Added logic in `changePeriod` function to restrict year navigation within the bounds of available calendar data. - Defined `maxYear` and `minYear` based on the calendar data's start and end dates. - Ensured that users cannot select a year beyond the maximum or below the minimum year available in the calendar data.
- Loading branch information