Skip to content

hristo2612/ng2-datetime

Repository files navigation

ngx-datetime-16

This library is a continuation of the ng2-datetime library by nkalinov, now updated to support Angular v16.

Dependencies

Installation

npm install --save ngx-datetime-16

Usage

  1. Import the required dependencies in the following order:

    • Bootstrap CSS
    • jQuery
    • bootstrap-timepicker + bootstrap-datepicker

    See this example for details.

  2. import { NgxDatetimeModule } from 'ngx-datetime-16';

  3. Add it to your app module's imports property

@NgModule({
...
imports: [NgxDatetimeModule, ...],
...
})
  1. Use it in your templates: <datetime [(ngModel)]="date"></datetime>

Acknowledgements

About

Angular v16 compatible ng2-datetime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published