javascript - Need 12 hour format without showing AM/PM Timepicker -
javascript - Need 12 hour format without showing AM/PM Timepicker -
i using timepicker angular directive bootstrap.
i need have 12 hr format without am/pm
there plunkr link on site can play around with.
i tried alternative $scope.ismeridian = false;
allow am/pm hidden time count goes 24 still.
thanks help.
apply class timepicker:
<timepicker class="timepicker" ng-model="mytime" ng-change="changed()" hour-step="hstep" minute-step="mstep" show-meridian="ismeridian"></timepicker>
and utilize css hide am/pm button:
.timepicker tr:nth-child(2) td:last-child { display: none; }
javascript angularjs angularjs-directive angular-ui-bootstrap
Comments
Post a Comment