timepicker: time increase with minutesStep does not work

Bug description:

when i have my time picker with minutesStep like this:

<ngb-timepicker [(ngModel)]="time" minuteStep="15"></ngb-timepicker>

clicking the increase button will increase the hours instead of the minutes. decrease seems to work.

Link to minimally-working plunker that reproduces the issue:

http://plnkr.co/edit/tpUxqHrh83e79rmEbueb?p=preview

Version of Angular, ng-bootstrap:

Angular:
5.0.2
ng-bootstrap:
1.0.4

1 possible answer(s) on “timepicker: time increase with minutesStep does not work

  1. thanks, strangly decrease was working. for all this is the solution:

    <ngb-timepicker [(ngModel)]=”time” [minuteStep]=”15″>