Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
7.89k stars 2.23k forks source link

Fix #4902: 🐛 Fix the click of week numbers when the first day of the week is not enabled #4903

Closed balajis-qb closed 1 week ago

balajis-qb commented 2 weeks ago

Closes #4902

Problem As described in the linked issue, the problem occurs when we disable the first week of the day and using excludeDateIntervals whereas the other days of the week are enabled. In this case the select of the week number is not working.

Changes

Contribution checklist

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.66%. Comparing base (c1258d3) to head (f09d92d). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4903 +/- ## ========================================== + Coverage 96.65% 96.66% +0.01% ========================================== Files 28 28 Lines 3254 3264 +10 Branches 1354 1359 +5 ========================================== + Hits 3145 3155 +10 Misses 105 105 Partials 4 4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.