{"id":4207,"url":"https://github.com/nucleartux/react-native-date","last_synced_at":"2026-01-14T14:50:14.449Z","repository":{"id":57336466,"uuid":"43982365","full_name":"nucleartux/react-native-date","owner":"nucleartux","description":"React Native date and time pickers for Android","archived":true,"fork":false,"pushed_at":"2018-09-17T20:57:17.000Z","size":28,"stargazers_count":47,"open_issues_count":14,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-04T00:51:51.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/nucleartux.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":"2015-10-09T22:05:35.000Z","updated_at":"2024-05-13T06:46:53.000Z","dependencies_parsed_at":"2022-09-03T08:00:55.862Z","dependency_job_id":null,"html_url":"https://github.com/nucleartux/react-native-date","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nucleartux/react-native-date","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucleartux","download_url":"https://codeload.github.com/nucleartux/react-native-date/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-date/sbom","scorecard":{"id":698044,"data":{"date":"2025-08-11","repo":{"name":"github.com/nucleartux/react-native-date","commit":"1e403690788f8ab11904a5ebd380895a59919c19"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":5,"reason":"Found 10/18 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T04:17:44.145Z","repository_id":57336466,"created_at":"2025-08-22T04:17:44.145Z","updated_at":"2025-08-22T04:17:44.145Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-01-05T20:17:04.503Z","updated_at":"2026-01-14T14:50:14.430Z","avatar_url":"https://github.com/nucleartux.png","language":"Java","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI"],"readme":"# react-native-date\nReact Native date and time pickers for Android\n\n## Installation and How to use\n\n#### Step 1 - NPM Install\n\n```shell\nnpm install --save react-native-date\n```\n#### Step 2 - Update Gradle Settings\n\n```gradle\n// file: android/settings.gradle\n...\n\ninclude ':reactdate', ':app'\nproject(':reactdate').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-date')\n```\n\n#### Step 3 - Update app Gradle Build\n\n```gradle\n// file: android/app/build.gradle\n...\n\ndependencies {\n    ...\n    compile project(':reactdate')\n}\n```\n\n#### Step 4 - Register React Package\n\n```java\n// file: android/app/source/main/java/com/{projectName}.MainActivity.java\n...\nimport me.nucleartux.date.ReactDatePackage; // import\n\npublic class MainActivity extends ReactActivity {\n...\n    @Override\n    protected List\u003cReactPackage\u003e getPackages() {\n      return Arrays.\u003cReactPackage\u003easList(\n        new MainReactPackage()\n      , new ReactDatePackage() // register react date package here\n      );\n    }\n\n...\n\n```\n\n#### Step 5 - Require and use in Javascript\n\n```js\n// file: index.android.js\n\nimport React, { AppRegistry, StyleSheet, Text, View, TouchableOpacity } from 'react-native';\nimport DateAndroid from 'react-native-date';\n\nconst AwesomeProject = React.createClass({\n  handleTimeClick: function () {\n    DateAndroid.showTimepicker(function() {}, function(hour, minute) {\n      console.log(`${hour}:${minute+1}`);\n    });\n  },\n  handleDateClick: function () {\n    DateAndroid.showDatepicker(function() {}, function(year, month, day) {\n      console.log(`${year}/${month+1}/${day}`);\n    });\n  },\n  render: function() {\n    return (\n      \u003cView style={styles.container}\u003e\n        \u003cTouchableOpacity onPress={this.handleDateClick}\u003e\n          \u003cText style={styles.instructions}\u003e\n            Click me to select Date\n          \u003c/Text\u003e\n        \u003c/TouchableOpacity\u003e\n        \u003cTouchableOpacity onPress={this.handleTimeClick}\u003e\n          \u003cText style={styles.instructions}\u003e\n            Click me to select Time\n          \u003c/Text\u003e\n        \u003c/TouchableOpacity\u003e\n      \u003c/View\u003e\n    );\n  }\n});\n\nconst styles = StyleSheet.create({\n  instructions: {\n    textAlign: 'center',\n    color: '#333333',\n    margin: 5,\n  },\n  container: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#F5FCFF',\n  }\n});\n\nAppRegistry.registerComponent('AwesomeProject', () =\u003e AwesomeProject);\n```\n\n\n## Notes\n- Please report any issues or send patches to get fixes in\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleartux%2Freact-native-date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucleartux%2Freact-native-date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleartux%2Freact-native-date/lists"}