diff --git a/src/timepicker/timepicker.js b/src/timepicker/timepicker.js index 8738224160..ee69d3f86c 100644 --- a/src/timepicker/timepicker.js +++ b/src/timepicker/timepicker.js @@ -103,7 +103,7 @@ angular.module('ui.bootstrap.timepicker', []) } function pad( value ) { - return ( angular.isDefined(value) && value.toString().length < 2 ) ? '0' + value : value; + return ( angular.isDefined(value) && value.toString().length < 2 ) ? '0' + value : value.toString(); } // Respond on mousewheel spin