{"id":23822192,"url":"https://github.com/atais/angular-eonasdan-datetimepicker","last_synced_at":"2025-09-07T04:31:35.787Z","repository":{"id":55971264,"uuid":"53146368","full_name":"atais/angular-eonasdan-datetimepicker","owner":"atais","description":"A wrapper directive around the Eonasdan Datepicker v4 component.","archived":false,"fork":false,"pushed_at":"2019-05-07T14:25:36.000Z","size":38,"stargazers_count":61,"open_issues_count":6,"forks_count":27,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-05T14:24:04.297Z","etag":null,"topics":["angular","date-picker","datepicker","datetime-picker","datetimepicker","wrapper-directive"],"latest_commit_sha":null,"homepage":"","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/atais.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-03-04T15:49:02.000Z","updated_at":"2023-03-30T13:23:57.000Z","dependencies_parsed_at":"2022-08-15T10:31:34.209Z","dependency_job_id":null,"html_url":"https://github.com/atais/angular-eonasdan-datetimepicker","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/atais/angular-eonasdan-datetimepicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atais%2Fangular-eonasdan-datetimepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atais%2Fangular-eonasdan-datetimepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atais%2Fangular-eonasdan-datetimepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atais%2Fangular-eonasdan-datetimepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atais","download_url":"https://codeload.github.com/atais/angular-eonasdan-datetimepicker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atais%2Fangular-eonasdan-datetimepicker/sbom","scorecard":{"id":214162,"data":{"date":"2025-08-11","repo":{"name":"github.com/atais/angular-eonasdan-datetimepicker","commit":"6daa877b5e6e132232e39ed58ae4cd3fa26330d3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/26 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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T01:20:18.930Z","repository_id":55971264,"created_at":"2025-08-17T01:20:18.931Z","updated_at":"2025-08-17T01:20:18.931Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273996588,"owners_count":25204472,"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-07T02:00:09.463Z","response_time":67,"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","date-picker","datepicker","datetime-picker","datetimepicker","wrapper-directive"],"created_at":"2025-01-02T09:15:02.215Z","updated_at":"2025-09-07T04:31:35.539Z","avatar_url":"https://github.com/atais.png","language":"JavaScript","readme":"# angular-eonasdan-datetimepicker [![Build Status](https://travis-ci.org/atais/angular-eonasdan-datetimepicker.svg?branch=master)](https://travis-ci.org/atais/angular-eonasdan-datetimepicker) [![npm version](https://badge.fury.io/js/angular-eonasdan-datetimepicker.svg)](https://badge.fury.io/js/angular-eonasdan-datetimepicker)\n\n* **Angular 2 version!** [ng2-eonasdan-datetimepicker](https://github.com/atais/ng2-eonasdan-datetimepicker)\n* A wrapper directive around the [bootstrap-datetimepicker component](http://eonasdan.github.io/bootstrap-datetimepicker/).\n* It is a continuation of [angular-bootstrap-datetimepicker-directive](https://github.com/diosney/angular-bootstrap-datetimepicker-directive).\n\nHaving problems using the wrapper? \u003cbr\u003e\nPlease, post an issue on GitHub and **provide a plunker** with your question.\n\n## Installation\n\n1) Install the directive via bower or npm (or download it manually, as you prefer)\n```javascript\nnpm install angular-eonasdan-datetimepicker --save\n```\n```javascript\nbower install angular-eonasdan-datetimepicker --save\n```\n\n2) Inject the `datetimepicker` directive in you angular app:\n```javascript\nangular.module('myApp', ['ae-datetimepicker']);\n```\n\n3) Start using!\n\n## Examples\n\n* Simple example, with one datetimepicker: http://plnkr.co/n8L8UZ\n* Example with two, linked datetimepickers: http://plnkr.co/ZSjN8f\n* Validation example: http://plnkr.co/NmFt43\n* From/To validation example: http://plnkr.co/ZeKX7z\n\n## Directive usage\n\nSimply add `datetimepicker` tag and add the `ng-model` (required) attribute. Currently the `datetimepicker` tag can be added on either `input-group` or the `input` element.\n\nOption #1\n```html\n\u003cdiv class=\"input-group\" datetimepicker ng-model=\"vm.date\"\u003e\n    \u003cinput class=\"form-control\"/\u003e\n    \u003cspan class=\"input-group-addon\"\u003e\n        \u003cspan class=\"glyphicon glyphicon-calendar\"\u003e\u003c/span\u003e\n    \u003c/span\u003e\n\u003c/div\u003e\n```\n\nOption #2\n```html\n\u003cdiv class=\"input-group\"\u003e\n    \u003cinput class=\"form-control\" datetimepicker ng-model=\"vm.date\"/\u003e\n    \u003cspan class=\"input-group-addon\"\u003e\n        \u003cspan class=\"glyphicon glyphicon-calendar\"\u003e\u003c/span\u003e\n    \u003c/span\u003e\n\u003c/div\u003e\n```\n\nIn both cases the directive will work exactly the same. Also triggering the callendar with the icon in `span` will work in both cases. **However** if you wish to use a custom validation directive, you probably would want to add the directive in `input` element. See the: [From/To validation example](http://plnkr.co/ZeKX7z)  \n\n\n## Parameters\n\n### ng-model\n\nIf `ng-model` is `null` or `undefined`, the initial value will not be set!\n\n### options\n\nWith `options` attribute you can pass an object containing all the required configuration for your datetimepicker.\nAll the options available in the original library are supported. Check the list of options on official website: http://eonasdan.github.io/bootstrap-datetimepicker/Options/\n\n```html\n\u003cdiv class=\"input-group\" datetimepicker ng-model=\"vm.date\" options=\"vm.options\"\u003e\n```\n\n```javascript\nvm.options = {\n    format: \"DD.MM.YYYY\",\n    maxDate: dateTo\n};\n```\n\n### on-change\n\nYou can pass a function that will be called every time the value of datetimepicker is changed. \u003cbr\u003e\nSee: [Example with two, linked datetimepickers](http://plnkr.co/ZSjN8f)\n\nDetailed description of event: http://eonasdan.github.io/bootstrap-datetimepicker/Events/#dpchange\n\n### on-click\n\nYou can pass a function that will be called every time the datetimepicker is clicked. \u003cbr\u003e\nThe event occurs when you open or close the datetimepicker.\n\n## Special thanks\n\n* [Rodrigo Saling](https://github.com/rodrigosaling) for help on making custom validators work\n\n## [License](https://github.com/atais/angular-eonasdan-datetimepicker/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatais%2Fangular-eonasdan-datetimepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatais%2Fangular-eonasdan-datetimepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatais%2Fangular-eonasdan-datetimepicker/lists"}