diff --git a/src/components/Common/DateInputV2.tsx b/src/components/Common/DateInputV2.tsx index 522b3715c5..e72639700f 100644 --- a/src/components/Common/DateInputV2.tsx +++ b/src/components/Common/DateInputV2.tsx @@ -192,6 +192,16 @@ const DateInputV2: React.FC = ({ year = datePickerHeaderDate.getFullYear(), ) => { const date = new Date(year, month, day); + if ( + min && + max && + min.getDate() === max.getDate() && + day === min.getDate() && + month === min.getMonth() && + year === min.getFullYear() + ) { + return true; + } if (min) if (date < min) return false; if (max) if (date > max) return false; return true;