From 9c6f2fcea329981d59c0a327617b42bdb7a014ee Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Thu, 20 Feb 2025 10:09:45 +1100 Subject: [PATCH] fix: adjust year limits in SingleDatePicker to prevent invalid navigation The min value of the year is 100, and remove the max limitation. If user input the year number less than 100, it will be treated as a two-digit year of 21st century. --- src/components/SingleDatePicker.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/SingleDatePicker.tsx b/src/components/SingleDatePicker.tsx index ad47daa..6faa1a5 100644 --- a/src/components/SingleDatePicker.tsx +++ b/src/components/SingleDatePicker.tsx @@ -161,7 +161,7 @@ export default ({ value, onSelect, localization, onClose, mainColor = '#000000',