I'm using this datetime picker :-
https://www.npmjs.com/package/angular2-datetimepicker
Official document link :- https://cuppalabs.github.io/angular2-datetimepicker/#/datetimepicker.
Now, I have successfully implement it. It's perfectly working but time picker is not showing. As per their document I have set timepicker:false as well as timepicker:true.
In component.ts file.
date: Date = new Date();
settings = {
bigBanner: true,
format: 'dd-MMM-yyyy hh:mm a',
defaultOpen: true
}
In component.html file.
<angular2-date-picker [(ngModel)]="date" [settings]="settings"></angular2-date-picker>
Screen Shot.
Edit :- I think the problem is that setting object is not working from .ts file because if I remove the setting object then also it's only showing date.