{"id":23948582,"url":"https://github.com/propan/yadatepicker","last_synced_at":"2026-06-14T12:33:16.650Z","repository":{"id":2621118,"uuid":"3605717","full_name":"propan/yaDatePicker","owner":"propan","description":"yet another date picker - a lightweight, customizable date picker plugin for jQuery","archived":false,"fork":false,"pushed_at":"2012-12-09T14:51:53.000Z","size":224,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T10:19:33.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/propan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-02T20:15:29.000Z","updated_at":"2014-04-09T18:27:12.000Z","dependencies_parsed_at":"2022-08-29T12:32:18.403Z","dependency_job_id":null,"html_url":"https://github.com/propan/yaDatePicker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propan%2FyaDatePicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propan%2FyaDatePicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propan%2FyaDatePicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propan%2FyaDatePicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/propan","download_url":"https://codeload.github.com/propan/yaDatePicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240441958,"owners_count":19801793,"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","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-01-06T10:19:40.297Z","updated_at":"2026-06-14T12:33:11.628Z","avatar_url":"https://github.com/propan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"yaDatePicker - yet another datepicker\n========================================================\n\nA lightweight, customizable datepicker plugin for jQuery\n\n[DEMO and Examples]( http://propan.github.com/yaDatePicker/ \"Demo and Examples\")\n\n### Features\n\n - inline calendar rendering\n - the first day of the week selection\n - custom date format\n - localization\n - themes support\n - date selection restrictions [dates from the past, end date]\n\nHow to use\n----------\n\n### Step 1 - Setup\n\nyaDatePicker plugin uses the jQuery JavaScript library.\nSo, in order to use it, include these two javascript files in the header of your page:\n\n    \u003cscript type=\"text/javascript\" src=\"js/jquery.js\"\u003e\u003c/script\u003e\n    \u003cscript type=\"text/javascript\" src=\"js/yaDatePicker-1.3-min.js\"\u003e\u003c/script\u003e\n\nInclude the CSS file that contains the theme for the yaDatePicker plugin you want to use:\n\n    \u003clink rel=\"stylesheet\" type=\"text/css\" href=\"css/default.css\" media=\"screen\" /\u003e\n\n### Step 2 - Activate\n\nCreate an input field or a div element to which you want to attach the datepicker:\n\n    \u003cinput type=\"text\" id=\"date\" /\u003e\n\nor\n\n    \u003cdiv id=\"calendar\"\u003e\u003c/div\u003e\n\nFinally, attach a datepicker to the created field:\n\n    $(\"#date\").attachDatePicker();\n\nor render it to the created div element:\n\n    $(\"#calendar\").attachDatePicker({inline:true});\n\n### Step 3 - Have fun!\n\nOptions\n-------\n\n* inline - a boolean parameter that tells if datepicker should be attached or rendered as inline calendar\n\n    Default: false\n\n* firstDay - the first day of the week\n\n    Default: 0 (Sunday)\n\n* navigation - a flag to control appearance of the calendar navigation bar\n\n    Default: true\n\n* allowPast - a flag that restricts selection of dates from the past\n\n    Default: true\n\n* endDate - a last date that is allowed to be selected\n\n    Default: -1 (unlimited)\n\n* theme - a name of datepicker theme. Three themes are included: dp, dark and grey\n\n    Default: 'dp'\n\n* format - a format of the date. Available options are: d - day, m - month, y - two digit year, Y - four digit year\n\n    Default: 'd.m.Y'\n\n* initial - an initial value of selected date. A string in the format supported by Date.parse() function or an instance of Date object.\n\n    Default: current date\n\n* onSelect - a callback function which is called when the user selects date\n\n    Example:\n\n    function (date) {\n        alert(date);\n    }\n\nVersion History\n---------------\n\nVersion 1.0 - 01/03/2012\n\n- first release\n    \nVersion 1.1 - 08/06/2012\n\n- fixed an issue with incorrect month change\n- changed onSelect behavior\n    \nVersion 1.2 - 16/07/2012\n\n- fixed an issue that occurred during simultaneous rendering of several calendars on the same page\n- added an option for initial selected date\n\nVersion 1.3 - 13/10/2012\n\n- added a mediator that allows to set a date of an attached calendar programmatically\n\nLicense\n-------\nCopyright (c) 2012 Pavel Prokopenko Released under MIT License.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\nTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpropan%2Fyadatepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpropan%2Fyadatepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpropan%2Fyadatepicker/lists"}