{"id":16431411,"url":"https://github.com/stephencelis/timeframe","last_synced_at":"2025-10-03T20:18:28.847Z","repository":{"id":393618,"uuid":"11466","full_name":"stephencelis/timeframe","owner":"stephencelis","description":"Click-draggable. Range-makeable. A better calendar.","archived":false,"fork":false,"pushed_at":"2011-07-08T12:43:47.000Z","size":230,"stargazers_count":287,"open_issues_count":1,"forks_count":53,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-06-09T07:06:15.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://stephencelis.github.com/timeframe","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/stephencelis.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-04-21T02:58:58.000Z","updated_at":"2025-04-04T14:51:29.000Z","dependencies_parsed_at":"2022-07-07T13:35:31.920Z","dependency_job_id":null,"html_url":"https://github.com/stephencelis/timeframe","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stephencelis/timeframe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Ftimeframe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Ftimeframe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Ftimeframe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Ftimeframe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephencelis","download_url":"https://codeload.github.com/stephencelis/timeframe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephencelis%2Ftimeframe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278220252,"owners_count":25950430,"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-10-03T02:00:06.070Z","response_time":53,"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-10-11T08:30:03.750Z","updated_at":"2025-10-03T20:18:28.804Z","avatar_url":"https://github.com/stephencelis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Timeframe\n=========\n\nClick-draggable. Range-makeable. A better calendar.\n\n\nThe code:\n---------\n\n    new Timeframe(element, options);\n\n\n### Options available:\n\n* `months`:\n  The number of calendar months showing at once (default: `2`).\n\n* `format`:\n  The strftime format for the dates in the input fields (default:\n  `%b %d, %Y`). (With [Datejs](http://datejs.com), it takes Datejs\n  formatting.)\n\n* `weekOffset`:\n  Override the localization's default weekday start with this option (e.g.,\n  `1` will force the rows to start on Monday; use `0` for Sunday).\n\n* `startField`, `endField`:\n  Declare the range start and end input tags (by default, these are generated\n  with the Timeframe). When the `value` attribute is pre-populated, the\n  Timeframe will load with this range.\n\n* `previousButton`, `todayButton`, `nextButton`, `resetButton`:\n  Declare the navigational buttons (these are also generated by default with\n  the Timeframe).\n\n* `earliest`, `latest`:\n  The earliest and latest selectable dates (accepts either a `Date` object or\n  a `String` that can be parsed with `Date.parse()`).\n\n* `maxRange`:\n  Limit the maximum possible range length (set to `1` to turn Timeframe into\n  a regular old date picker).\n\n\n### Localization:\n\nDrop in a localized version of [Datejs](http://datejs.com), and it should just\nwork. An added bonus is that the text fields will live-parse more nicely! Just\ntry \"next tues.\"\n\n\n### Notes:\n\n* I'm just sick of multiple date pickers on the same page.\n\n\nAn example:\n-----------\n\n    \u003cscript type=\"text/javascript\" charset=\"utf-8\"\u003e\n      //\u003c![CDATA[\n        new Timeframe('calendars', {\n          startField: 'start',\n          endField: 'end',\n          earliest: new Date(),\n          resetButton: 'reset' });\n      //]]\u003e\n    \u003c/script\u003e\n\nSee it in action \n[here](http://stephencelis.com/projects/timeframe#example_information).\n\nDependencies:\n-------------\n\nTimeframe requires [Prototype](http://prototypejs.org) 1.6 or higher.\n\n\nContributors:\n-------------\n\n* Justin Palmer (\"Caged\")\n* Nik Wakelin (\"codetocustomer\")\n* Sebastien Grosjean (\"ZenCocoon\")\n* Will Bryant (\"willbryant\")\n\n\nDownload:\n---------\n\nFind the latest version of Timeframe on\n[Github](http://github.com/stephencelis/timeframe).\n\nMore information can be found\n[here](http://stephencelis.com/projects/timeframe).\n\n\nCopyright (c) 2008-2011 [Stephen Celis](http://stephencelis.com), released under\nthe [MIT license](http://en.wikipedia.org/wiki/Mit_license).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephencelis%2Ftimeframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephencelis%2Ftimeframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephencelis%2Ftimeframe/lists"}