{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9566","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9566/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9566/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9566/events","html_url":"https://github.com/facebook/react-native/issues/9566","id":172911195,"number":9566,"title":"[DatePickerIOS] minuteInterval not work with mode=\"time\" minimumDate={min} maximumDate={max}","user":{"login":"charlesLin","id":4660382,"avatar_url":"https://avatars0.githubusercontent.com/u/4660382?v=4","gravatar_id":"","url":"https://api.github.com/users/charlesLin","html_url":"https://github.com/charlesLin","followers_url":"https://api.github.com/users/charlesLin/followers","following_url":"https://api.github.com/users/charlesLin/following{/other_user}","gists_url":"https://api.github.com/users/charlesLin/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesLin/subscriptions","organizations_url":"https://api.github.com/users/charlesLin/orgs","repos_url":"https://api.github.com/users/charlesLin/repos","events_url":"https://api.github.com/users/charlesLin/events{/privacy}","received_events_url":"https://api.github.com/users/charlesLin/received_events","type":"User","site_admin":false},"labels":[{"id":718241807,"url":"https://api.github.com/repos/facebook/react-native/labels/Stale","name":"Stale","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-08-24T09:55:59Z","updated_at":"2018-02-13T17:34:45Z","closed_at":"2017-11-27T16:19:35Z","author_association":"NONE","body":"render() {\n  let {year, month, day} = new Date();\n    let min = new Date(year, month, day, 8);\n    let max = new Date(year, month, day, 22);\nreturn (\n<DatePickerIOS\n              date={this.state.date}\n              mode=\"time\"\n              minuteInterval={10}\n              minimumDate={min} maximumDate={max}\n              onDateChange={(date) => this.setState({date})}\n              />);\n\nI found that minuteInterval works on iOS emulator, but not work at real device both minuteInterval and date range feature.\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/365342938","html_url":"https://github.com/facebook/react-native/issues/9566#issuecomment-365342938","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9566","id":365342938,"user":{"login":"hugoh1995","id":25149138,"avatar_url":"https://avatars3.githubusercontent.com/u/25149138?v=4","gravatar_id":"","url":"https://api.github.com/users/hugoh1995","html_url":"https://github.com/hugoh1995","followers_url":"https://api.github.com/users/hugoh1995/followers","following_url":"https://api.github.com/users/hugoh1995/following{/other_user}","gists_url":"https://api.github.com/users/hugoh1995/gists{/gist_id}","starred_url":"https://api.github.com/users/hugoh1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugoh1995/subscriptions","organizations_url":"https://api.github.com/users/hugoh1995/orgs","repos_url":"https://api.github.com/users/hugoh1995/repos","events_url":"https://api.github.com/users/hugoh1995/events{/privacy}","received_events_url":"https://api.github.com/users/hugoh1995/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T17:34:45Z","updated_at":"2018-02-13T17:34:45Z","author_association":"NONE","body":"Hey the previous workaround only worked for me when I added a constructor with a different value than the one inside the componentDidMount() method. I set it to 0 in the constructor and to 15 in the componentDidMount() which then worked."}}
{"actor":{"display_login":"hugoh1995"}}