{"id":30091909,"url":"https://github.com/osedea/react-native-osd-datetimepicker","last_synced_at":"2025-08-09T07:54:03.476Z","repository":{"id":57338861,"uuid":"60112194","full_name":"Osedea/react-native-osd-datetimepicker","owner":"Osedea","description":"A Datepicker for Android and iOs for react-native","archived":false,"fork":false,"pushed_at":"2018-01-22T15:29:47.000Z","size":207,"stargazers_count":23,"open_issues_count":2,"forks_count":6,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-06-09T09:44:24.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Osedea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-31T18:08:22.000Z","updated_at":"2023-03-21T04:29:29.000Z","dependencies_parsed_at":"2022-09-01T22:02:58.792Z","dependency_job_id":null,"html_url":"https://github.com/Osedea/react-native-osd-datetimepicker","commit_stats":null,"previous_names":["osedea/react-native-datetimepicker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Osedea/react-native-osd-datetimepicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osedea%2Freact-native-osd-datetimepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osedea%2Freact-native-osd-datetimepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osedea%2Freact-native-osd-datetimepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osedea%2Freact-native-osd-datetimepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Osedea","download_url":"https://codeload.github.com/Osedea/react-native-osd-datetimepicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osedea%2Freact-native-osd-datetimepicker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269548490,"owners_count":24436109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-09T07:54:01.707Z","updated_at":"2025-08-09T07:54:03.463Z","avatar_url":"https://github.com/Osedea.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-osd-datetimepicker\nA DateTime Picker for Android and iOs for react-native\n\nFor react-native v0.26+\n\n# How it looks\n\n### Closed\n\n\u003cimg alt='Before' src='images/example-empty.png' height='200px' /\u003e \u003cimg alt='After' src='images/example-set.png' height='200px' /\u003e\n\n### Open\n\nAndroid\n\n\u003cimg alt='Android-date' src='images/example-android-date.png' height='200px' /\u003e \u003cimg alt='Android-hours' src='images/example-android-time-hours.png' height='200px' /\u003e \u003cimg alt='Android-minutes' src='images/example-android-time-minutes.png' height='200px' /\u003e\n\niOs\n\n\u003cimg alt='IOS-date' src='images/example-ios-date.png' height='200px' /\u003e \u003cimg alt='IOS-hours' src='images/example-ios-time.png' height='200px' /\u003e \u003cimg alt='IOS-minutes' src='images/example-ios-datetime.png' height='200px' /\u003e\n\n# Output\n\nFor `time` : `HH:MM:00`\n\nFor `date` : Local date string (parsable in `new Date()`)\n\nFor `datetime` : Local datetime string (parsable in `new Date()`)\n\n# Usage example\n\n```jsx\n\u003cDateTimePicker\n    containerStyle={styles.container}\n    iosDoneButtonText={styles.iosDoneButtonText}\n    iosDoneButtonStyle={styles.iosDoneButton}\n    iosClosePickerButtonTextContainerStyle={styles.iosClosePickerButtonText}\n    iosClosePickerButtonTextStyle={styles.iosClosePickerButton}\n    label={'Choose a date'}\n    date={this.state.value} // To have a controlled component behaviour\n    mode={'date'}\n    onChange={this.handleDateChange}\n/\u003e\n```\n\n# Properties\n\nProperty Name | Type | Remark\n--- | --- | ---\ndate | React.PropTypes.string\nminDate | React.PropTypes.string\nmaxDate | React.PropTypes.string\nmode | React.PropTypes.oneOf([ 'datetime', 'date', 'time' ]) |\nonChange | React.PropTypes.func.isRequired\niosDoneButtonText | React.PropTypes.string\niosDoneButtonStyle | Button.propTypes.containerStyle | see [react-native-osd-simple-button](http://github.com/osedea/react-native-osd-simple-button)\niosClosePickerButtonTextContainerStyle | Button.propTypes.textContainerStyle | see [react-native-osd-simple-button](http://github.com/osedea/react-native-osd-simple-button)\niosClosePickerButtonTextStyle | Button.propTypes.textStyle | see [react-native-osd-simple-button](http://github.com/osedea/react-native-osd-simple-button)\nrenderAndroidButton | React.PropTypes.func\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosedea%2Freact-native-osd-datetimepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosedea%2Freact-native-osd-datetimepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosedea%2Freact-native-osd-datetimepicker/lists"}