{"id":14482839,"url":"https://github.com/sectore/phonegap3-ios-datepicker-plugin","last_synced_at":"2025-08-30T03:32:17.525Z","repository":{"id":9725640,"uuid":"11683147","full_name":"sectore/phonegap3-ios-datepicker-plugin","owner":"sectore","description":":x: [Deprecated] Migration of DatePicker iOS plugin to work with Cordova/PhoneGap 3","archived":true,"fork":false,"pushed_at":"2015-07-29T08:42:58.000Z","size":1009,"stargazers_count":26,"open_issues_count":8,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-27T04:32:00.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sectore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-26T10:06:54.000Z","updated_at":"2024-08-15T09:31:22.000Z","dependencies_parsed_at":"2022-08-25T12:40:39.925Z","dependency_job_id":null,"html_url":"https://github.com/sectore/phonegap3-ios-datepicker-plugin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sectore/phonegap3-ios-datepicker-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-ios-datepicker-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-ios-datepicker-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-ios-datepicker-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-ios-datepicker-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sectore","download_url":"https://codeload.github.com/sectore/phonegap3-ios-datepicker-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-ios-datepicker-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272800741,"owners_count":24995138,"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-30T02:00:09.474Z","response_time":77,"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":"2024-09-03T00:01:19.318Z","updated_at":"2025-08-30T03:32:17.196Z","avatar_url":"https://github.com/sectore.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"### :exclamation: [Note] This project is deprecated and will be continued by [https://github.com/VitaliiBlagodir/cordova-plugin-datepicker](https://github.com/VitaliiBlagodir/cordova-plugin-datepicker)\n\n# DatePicker iOS Plugin for using PhoneGap / Cordova 3.0\n\nThis is a re-write of the iOS DatePicker plugin hosted on [https://github.com/phonegap/phonegap-plugins/tree/master/iOS/DatePicker](https://github.com/phonegap/phonegap-plugins/tree/master/iOS/DatePicker) to run with PhoneGap/Cordova 3.0. \n\nIt includes [more options](#options) and it is ready for using on iPhone and iPad.\n\n_Note:_ iOS6 only! For using iOS7 checkout the [ios7 branch](https://github.com/sectore/phonegap3-ios-datepicker-plugin/tree/ios7)\n\n## Screen shots\n\n### iPhone\n![screen shot iPhone](https://raw.github.com/sectore/phonegap3-ios-datepicker-plugin/master/assets/screenshot.jpg)\n\n### iPad\n![screen shot iPad](https://raw.github.com/sectore/phonegap3-ios-datepicker-plugin/master/assets/screenshot_ipad.jpg)\n\n## Installation\n\n1) Make sure that you have [Node](http://nodejs.org/) and [Cordova CLI](https://github.com/apache/cordova-cli) or [PhoneGap's CLI](https://github.com/mwbrooks/phonegap-cli) or [Cordova Plugman](https://github.com/apache/cordova-plugman/) installed on your machine.\n\nAlso you will need Xcode v.4.2 or newer to support the feature called [\"Automatic Reference Counting\"](http://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_4_2.html)\n\n2) Add a plugin to your project using [Cordova CLI](https://github.com/apache/cordova-cli):\n\n```bash\ncordova plugin add https://github.com/sectore/phonegap3-ios-datepicker-plugin\n```\n\nOr using [PhoneGap CLI](https://github.com/mwbrooks/phonegap-cli):\n\n```bash\nphonegap local plugin add https://github.com/sectore/phonegap3-ios-datepicker-plugin\n```\n\nOr using [plugman CLI](https://github.com/apache/cordova-plugman#command-line-usage):\n\n```bash\nplugman --platform ios --project ./platforms/ios --plugin https://github.com/sectore/phonegap3-ios-datepicker-plugin\n```\n\n\n3a) Register plugin within `config.xml` of your app\n\n```xml\n\u003cfeature name=\"DatePicker\"\u003e\n    \u003cparam name=\"ios-package\" value=\"DatePicker\"/\u003e\n\u003c/feature\u003e\n```\n\n3b) If you are using [PhoneGap build service](https://build.phonegap.com/) add to `config.xml`\n\n```xml\n\u003cgap:plugin name=\"de.websector.datepicker\" /\u003e\n```\n\n4) The `clobber` definition of the plugin is called `datePicker`. So you can reference to the plugin from anywhere in your code.\n\nExample:\n\n```js\n// defining options\nvar options = {\n  date: new Date(),\n  mode: 'date'\n};\n// calling show() function with options and a result handler\ndatePicker.show(options, function(date){\n  console.log(\"date result \" + date);  \n});\n```\n\nCheck section [\"Options\"](#options) below to see all options.\n\n## Options\n\n### mode\nThe mode of the date picker.\n\nTyp: `String` \n\nValues: `\"date\"` / `\"time\"` / `\"datetime\"`\n\nDefault: `'datetime'`\n\n### date\nSelected date.\n\nTyp: `String`\n\nDefault: `new Date()`\n\n### allowOldDates\nShows or hide dates earlier then selected date.\n\nTyp: `Boolean`\n\nValues: `true` / `false`\n\nDefault: `true`\n\n### allowFutureDates\nShows or hide dates after selected date.\n\nTyp: `Boolean`\n\nValues: `true` / `false`\n\nDefault: `true`\n\n### minDate (new)\nMinimum date.\n\nTyp: `Date` or empty `String`\n\nDefault: `''` (empty String)\n\n### maxDate (new)\nMaximum date.\n\nTyp: `Date` or empty `String`\n\nDefault: `''` (empty String)\n\n### doneButtonLabel (new)\nLabel of done button.\n\nTyp: `String`\n\nDefault: `'Done'`\n\n### doneButtonColor (new)\nHex color of done button.\n\nTyp: `String`\n\nDefault: `'#0000FF'`\n\n### cancelButtonLabel (new)\nLabel of cancel button.\n\nTyp: `String`\n\nDefault: `'Cancel'`\n\n### cancelButtonColor (new)\nHex color of cancel button.\n\nTyp: `String`\n\nDefault: `'#000000'`\n\n### x (new)\nX position of date picker (iPad only). The position is absolute to the root view of the application.\n\nTyp: `String`\n\nDefault: `'0'`\n\n### y (new)\nY position of date picker (iPad only). The position is absolute to the root view of the application.\n\nTyp: `String`\n\nDefault: `'0'`\n\n## Requirements\n- PhoneGap 3.0 or newer /Cordova 3.0 or newer\n- iOS 5/6\n\n## Author of migration to PhoneGap 3.0\nJens Krause // [WEBSECTOR.DE](http://www.websector.de)\n\n\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sectore/phonegap3-ios-datepicker-plugin/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsectore%2Fphonegap3-ios-datepicker-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsectore%2Fphonegap3-ios-datepicker-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsectore%2Fphonegap3-ios-datepicker-plugin/lists"}