In my angular6
project i am receiving time in string like 01:00 AM
. And i have inputs
of type time
like this
<input type="time" class="form-control" placement="top" ngbTooltip="Open Time" [(ngModel)]="hour.open">
And i am trying to set this time(01:00 AM)
to my field but it's not setting. How can i set that value in my input
?