react-native-datetimepicker / datetimepicker

React Native date & time picker component for iOS, Android and Windows
MIT License
2.51k stars 406 forks source link

[iOS] minimumDate + minuteInterval #126

Open nabati opened 4 years ago

nabati commented 4 years ago

Bug

Let's say the current time is 16:01. If you set minimumDate to today at 16:31, and minuteInterval to 15, the lowest selectable time will be 16:30, even though this is below minimumDate.

This might be the behaviour of the native UIDatePicker, but wondering if it would still make sense to patch this in Javascript-land.

Environment info

Running 2.2.2

vonovak commented 4 years ago

hello @nabati yes, patching this sounds reasonable, would you be willing to provide a PR for this? thank you!

nabati commented 4 years ago

Could probably have a look, thanks for the quick response!

chybisov commented 3 years ago

Any plans to address this issue? 😺