[iOS] Minute interval doesn't work with mode 'time'
Describe the bug
When the mode is set to 'time', the minuteInterval prop has no effect (iOS only). Notably, it works when mode is 'datetime'.
Expected behavior
Minute interval prop should work on iOS when mode is time
To Reproduce Add example code that reproduces the behavior.
export default class App extends Component {
state = { date: new Date() }
render = () =>
<DatePicker
mode='time'
minuteInterval={15}
date={this.state.date}
onDateChange={date => this.setState({ date })}
/>
}
Smartphone (please complete the following information):
- OS: iOS 12.1
- React Native version: 0.61.4
- react-native-date-picker version: 2.7.0
Hi, thanks for reporting this. I have tried but I don't manage to reproduce it. Could you please double-check that you actually are running the exact code above? Which iPhone model are you using?
My result with your code sample and software versions.

+1
Bump @dansiemens 🙂Did you have any additional information?
@henninghall Tried to reproduce after upgrading to 2.7.2 and i can no longer reproduce the issue. Found the issue only on 2.7.0, running Xcode 10.1, reproduced in 12.1 simulator and on iPhone 6 and iPhone X both running 12.x.
Thanks a lot! @xhirazi Could you try upgrading to version 2.7.2 or above and see if that helps?
Found a way to reproduce this, and have a fix ready. Will merge https://github.com/henninghall/react-native-date-picker/pull/155 and release a new version shortly.
Released in v2.7.4