{"id":20617088,"url":"https://github.com/kjantzer/backbone-date-picker","last_synced_at":"2026-04-27T05:03:21.554Z","repository":{"id":149762392,"uuid":"89635700","full_name":"kjantzer/backbone-date-picker","owner":"kjantzer","description":"An inline date picker based on Moment.js and Backbone.js","archived":false,"fork":false,"pushed_at":"2017-04-27T20:08:01.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T19:23:49.114Z","etag":null,"topics":["backbonejs","date-picker","date-range-picker","datepicker","dateselector","momentjs"],"latest_commit_sha":null,"homepage":"https://kjantzer.github.io/backbone-date-picker/","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/kjantzer.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-27T20:02:47.000Z","updated_at":"2024-05-16T14:27:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"59910b53-b1d6-4c32-befd-e4e5a4a34565","html_url":"https://github.com/kjantzer/backbone-date-picker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kjantzer/backbone-date-picker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjantzer%2Fbackbone-date-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjantzer%2Fbackbone-date-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjantzer%2Fbackbone-date-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjantzer%2Fbackbone-date-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjantzer","download_url":"https://codeload.github.com/kjantzer/backbone-date-picker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjantzer%2Fbackbone-date-picker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32323215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["backbonejs","date-picker","date-range-picker","datepicker","dateselector","momentjs"],"created_at":"2024-11-16T11:22:07.400Z","updated_at":"2026-04-27T05:03:21.537Z","avatar_url":"https://github.com/kjantzer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Date Picker 0.1.0\n\n\u003e An inline date picker based on and Moment.js and Backbone.js\n\n![Screenshot](http://i.imgur.com/ef380D7.png)\n\n### [Demo \u0026 documentation](http://kjantzer.github.io/backbone-date-picker/)\n\n### Overview\n\nThere are a lot of date pickers that use a calendar approach, but this plugin attempts to keep the process as simple and minimal as possible by letting the user edit the date in line.\n\nOnce hovered over a date unit, a user can type the number they want or use the scroll wheel to quickly change the value.\n\nPressing tab, shift+tab, or left/right arrow keys will navigate between the different units. Hitting esc will reset the value (while editing and before picker is saved)\n\n***\n\n### Example Usage\n\n```\nnew DatePicker({\n    appendTo: '#demo1',\n    format:'m/d/y'\n})\n```\n\n#### Month and year only \n\n```\nnew DatePicker({\n    appendTo: '#demo4',\n    format:'my',\n    m: {format: 'long'},\n    val: new Date()\n})\n```\n\n***\n\n### Options\n\n```\ndefaultOpts: {\n    appendTo: null,\n    val: '',\n    format: 'y-m-d',\n    valFormat: 'YYYY-MM-DD',\n    className: '',\n    deltaThreshold: 70, // how much scrolling is needed to change values\n    typeDelay: 340, // how long between keystrokes before using value\n    navLink: true, // when navigating units and reaching the end, will jump to next date picker if right next\n    saveOnBlur: true,\n    onSave: null,\n    onBlur: null,\n    \n    // options for each unit\n    y: {\n        placeholder: 'yyyy'\n    }, \n    m: {\n        format: '', // short, long, fn()\n        placeholder: 'mm'\n    },\n    d: {\n        format: '', // fn()\n        placeholder: 'dd'\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjantzer%2Fbackbone-date-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjantzer%2Fbackbone-date-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjantzer%2Fbackbone-date-picker/lists"}