Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nkalinov/ng2-datetime
Datetime picker plugins wrapper for Angular2+
https://github.com/nkalinov/ng2-datetime
angular bootstrap datepicker datetimepicker timepicker
Last synced: about 1 month ago
JSON representation
Datetime picker plugins wrapper for Angular2+
- Host: GitHub
- URL: https://github.com/nkalinov/ng2-datetime
- Owner: nkalinov
- License: mit
- Archived: true
- Created: 2016-03-17T14:32:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-05T12:38:54.000Z (about 5 years ago)
- Last Synced: 2024-09-23T03:12:11.443Z (3 months ago)
- Topics: angular, bootstrap, datepicker, datetimepicker, timepicker
- Language: TypeScript
- Homepage: https://nkalinov.github.io/ng2-datetime
- Size: 12 MB
- Stars: 157
- Watchers: 12
- Forks: 110
- Open Issues: 88
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-angular-components - ng2-datetime - Datetime picker plugins wrapper for Angular2. (Uncategorized / Uncategorized)
- awesome-angular-components - ng2-datetime - Datetime picker plugins wrapper for Angular2. (Uncategorized / Uncategorized)
- awesome-angular-components - nkalinov/ng2-datetime - Datetime picker plugins wrapper for Angular2+ (UI Components / Form)
README
# Not maintaned
# ng2-datetime
[![npm version](https://badge.fury.io/js/ng2-datetime.svg)](https://badge.fury.io/js/ng2-datetime)Datetime picker (plugins wrapper) for Angular.
##### Demo and docs: https://nkalinov.github.io/ng2-datetime
## Dependencies
- [Bootstrap3 (__CSS only__)](http://getbootstrap.com/)
- [jQuery 2+ (supports v3)](http://jquery.com/)
- [Bootstrap-datepicker __(JS+CSS)__](http://eternicode.github.io/bootstrap-datepicker/)
- [Bootstrap-timepicker __(JS+CSS)__](http://jdewit.github.io/bootstrap-timepicker/)## Installation
`npm install --save ng2-datetime`## Usage
1. import some way or another the required dependencies in the following order:
- Bootstrap CSS
- jQuery
- bootstrap-timepicker + bootstrap-datepicker
See [this example](https://github.com/nkalinov/ng2-datetime/blob/master/src/vendor.ts#L8)
2. `import { NKDatetimeModule } from 'ng2-datetime/ng2-datetime';`
3. Add it to your app module's `imports` property
```
@NgModule({
...
imports: [NKDatetimeModule, ...],
...
})
```
4. Use it: ``See the [__DEMO__](https://nkalinov.github.io/ng2-datetime) and it [__source__](https://github.com/nkalinov/ng2-datetime/tree/master/demo) for more info and available options.
## Contributing
Fork > Create > Pull request## Thanks to
- @jdewit for the [timepicker plugin](https://github.com/jdewit/bootstrap-timepicker)
- @eternicode for the [datepicker plugin](https://github.com/eternicode/bootstrap-datepicker)
- you