{"id":22165189,"url":"https://github.com/g1eb/angular-datetime-range","last_synced_at":"2025-09-02T18:44:11.818Z","repository":{"id":57178271,"uuid":"60455663","full_name":"g1eb/angular-datetime-range","owner":"g1eb","description":"📅 Angular directive for datetime range input","archived":false,"fork":false,"pushed_at":"2018-11-14T18:23:14.000Z","size":757,"stargazers_count":25,"open_issues_count":6,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-17T13:29:57.009Z","etag":null,"topics":["angular","angular-directives","date-input","daterange","datetime","element","input","range","time-input","ui"],"latest_commit_sha":null,"homepage":"https://rawgit.com/g1eb/angular-datetime-range/master/","language":"CSS","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/g1eb.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":"2016-06-05T10:56:39.000Z","updated_at":"2023-04-21T12:09:13.000Z","dependencies_parsed_at":"2022-08-30T14:51:13.473Z","dependency_job_id":null,"html_url":"https://github.com/g1eb/angular-datetime-range","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/g1eb/angular-datetime-range","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1eb%2Fangular-datetime-range","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1eb%2Fangular-datetime-range/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1eb%2Fangular-datetime-range/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1eb%2Fangular-datetime-range/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g1eb","download_url":"https://codeload.github.com/g1eb/angular-datetime-range/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g1eb%2Fangular-datetime-range/sbom","scorecard":{"id":415885,"data":{"date":"2025-08-11","repo":{"name":"github.com/g1eb/angular-datetime-range","commit":"dfbc75a4c3940738cded05a0e6393283c89f4e56"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"Vulnerabilities","score":0,"reason":"45 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-89mq-4x47-5v83","Warn: Project is vulnerable to: GHSA-5cp4-xmrw-59wf","Warn: Project is vulnerable to: GHSA-mhp6-pxh8-r675","Warn: Project is vulnerable to: GHSA-2qqx-w9hr-q5gx","Warn: Project is vulnerable to: GHSA-2vrf-hf26-jrp5","Warn: Project is vulnerable to: GHSA-4w4v-5hc9-xrr2","Warn: Project is vulnerable to: GHSA-j58c-ww9w-pwp5","Warn: Project is vulnerable to: GHSA-m9gf-397r-hwpg","Warn: Project is vulnerable to: GHSA-mqm9-c95h-x2p6","Warn: Project is vulnerable to: GHSA-prc3-vjfx-vhm9","Warn: Project is vulnerable to: GHSA-qwqh-hm9m-p5hr","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-2xv3-h762-ccxv","Warn: Project is vulnerable to: GHSA-xg47-r67p-vhv5","Warn: Project is vulnerable to: GHSA-xrmp-99wj-p6jc","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-pp57-mqmh-44h7","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-hxm2-r34f-qmc5","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-6g33-f262-xjp4","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T23:50:59.747Z","repository_id":57178271,"created_at":"2025-08-18T23:50:59.747Z","updated_at":"2025-08-18T23:50:59.747Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273333264,"owners_count":25086969,"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-09-02T02:00:09.530Z","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":["angular","angular-directives","date-input","daterange","datetime","element","input","range","time-input","ui"],"created_at":"2024-12-02T05:13:45.026Z","updated_at":"2025-09-02T18:44:11.791Z","avatar_url":"https://github.com/g1eb.png","language":"CSS","readme":"# Datetime range input UI element\n\nThis directive is designed to provide easy and intuitive input of moment.js datetime objects.\n\nTypically this can be used to represent a start and an end datetime object.  \nDesgined to be as simple as possible to afford intuitive interactions, including scrolling.\n\nConverted into an angular directive for your convenience :)\n\n## Demo\nClick \u003ca href=\"https://rawgit.com/g1eb/angular-datetime-range/master/\" target=\"_blank\"\u003ehere\u003c/a\u003e for a live demo.\n\n### Date range\n[\u003cimg src=\"https://raw.githubusercontent.com/g1eb/angular-datetime-range/master/images/date_range.png\" alt=\"Angular directive datetime range input - date range\" width=\"300px\"\u003e](https://rawgit.com/g1eb/angular-datetime-range/master/)\n\n### Time range\n[\u003cimg src=\"https://raw.githubusercontent.com/g1eb/angular-datetime-range/master/images/time_range.png\" alt=\"Angular directive datetime range input - time range\" width=\"300px\"\u003e](https://rawgit.com/g1eb/angular-datetime-range/master/)\n\n### Datetime range (collapsed state)\n[\u003cimg src=\"https://raw.githubusercontent.com/g1eb/angular-datetime-range/master/images/datetime_range_collapsed.png\" alt=\"Angular directive datetime range input - datetime range (collapsed)\" width=\"300px\"\u003e](https://rawgit.com/g1eb/angular-datetime-range/master/)\n\n### Datetime range (expanded state)\n[\u003cimg src=\"https://raw.githubusercontent.com/g1eb/angular-datetime-range/master/images/datetime_range_expanded.png\" alt=\"Angular directive datetime range input - datetime range (expanded)\" width=\"300px\"\u003e](https://rawgit.com/g1eb/angular-datetime-range/master/)\n\n## Install\n\n1) Install 'angular-datetime-range' with bower\n\n```\nbower install angular-datetime-range\n```\n\nOr with npm:\n\n```\nnpm install angular-datetime-range\n```\n\n2) Add 'g1b.datetime-range' module to your app config\n\n\n```javascript\nangular.module('myApp', [\n  'g1b.datetime-range',\n  ......\n])\n```\n\n3) Use 'datetime-range' directive in a view\n\n```html\n\u003cdatetime-range start=\"start\" end=\"end\"\u003e\u003c/datetime-range\u003e\n```\n\n## Attributes\n\n|Property        | Usage           | Default  | Required |\n|:------------- |:-------------|:-----:|:-----:|\n| start | Start moment.js datetime object or a datetime string | none | yes |\n| end | End moment.js datetime object or a datetime string | none | yes |\n| presets | Array of preset ranges, click \u003ca href=\"https://github.com/g1eb/angular-datetime-range#presets\" target=\"_blank\"\u003ehere\u003c/a\u003e for more info | none | no |\n| min-date | moment.js datetime object min datetime | none | no |\n| max-date | moment.js datetime object max datetime | none | no |\n| on-change | Handler function that is fired on change of start and/or end datetime objects | none | no |\n| on-change-start | Handler function that is fired on change of start datetime object | none | no |\n| on-change-end | Handler function that is fired on change of end datetime object | none | no |\n| on-close | Handler function that is fired on close of the edit popover | none | no |\n| close-text | Close text shown in the button used to close edit popover | Close | no |\n\n## Presets\n\nYou can provide any number of preset ranges for quick selection in edit view.  \n\nConsider the following example with ranges of current week, month and year.\n```\n$scope.presets = [\n  {\n    'name': 'This Week',\n    'start': moment().startOf('week').startOf('day'),\n    'end': moment().endOf('week').endOf('day'),\n  }, {\n    'name': 'This Month',\n    'start': moment().startOf('month').startOf('day'),\n    'end': moment().endOf('month').endOf('day'),\n  }, {\n    'name': 'This Year',\n    'start': moment().startOf('year').startOf('day'),\n    'end': moment().endOf('year').endOf('day'),\n  }\n];\n```\n\n## Other input directives\n\nIf you are looking for other datetime input elements, check out [angular-datetime-inputs](https://github.com/g1eb/angular-datetime-inputs)\n\n## Dependencies\n\n* [AngularJS](https://angularjs.org/)\n* [moment.js](http://momentjs.com/)\n* [angular-scroll-events](https://github.com/g1eb/angular-scroll-events)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg1eb%2Fangular-datetime-range","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg1eb%2Fangular-datetime-range","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg1eb%2Fangular-datetime-range/lists"}