I have integrated a time picker widget into my Angular application. Within my appmodule.ts
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
imports:[NgbModule.forRoot(),....]
The widget is displaying on the UI, but the time is not being properly set.https://i.sstatic.net/xqexI.png
//inside component.ts
meridian = true;
timePickerFormat:any ;
//inside constructor
this.timePickerFormat = {hour: 13, minute: 30};
Within the HTML file
<ngb-timepicker [(ngModel)]="timePickerFormat" [meridian]="meridian"></ngb-timepicker>