File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ $.extend(Timepicker.prototype, {
291291 '<div id="ui_tpicker_hour_' + dp_id + '"' + ( ( o . showHour ) ? '' : noDisplay ) + '></div>' +
292292 '<div style="padding-left: 1px"><table><tr>' ;
293293
294- for ( var h = o . hourMin ; h < hourMax ; h += o . hourGrid ) {
294+ for ( var h = o . hourMin ; h <= hourMax ; h += o . hourGrid ) {
295295 hourGridSize ++ ;
296296 var tmph = ( o . ampm && h > 12 ) ? h - 12 : h ;
297297 if ( tmph < 10 ) tmph = '0' + tmph ;
@@ -317,7 +317,7 @@ $.extend(Timepicker.prototype, {
317317 ( ( o . showMinute ) ? '' : noDisplay ) + '></div>' +
318318 '<div style="padding-left: 1px"><table><tr>' ;
319319
320- for ( var m = o . minuteMin ; m < minMax ; m += o . minuteGrid ) {
320+ for ( var m = o . minuteMin ; m <= minMax ; m += o . minuteGrid ) {
321321 minuteGridSize ++ ;
322322 html += '<td>' + ( ( m < 10 ) ? '0' : '' ) + m + '</td>' ;
323323 }
@@ -336,7 +336,7 @@ $.extend(Timepicker.prototype, {
336336 ( ( o . showSecond ) ? '' : noDisplay ) + '></div>' +
337337 '<div style="padding-left: 1px"><table><tr>' ;
338338
339- for ( var s = o . secondMin ; s < secMax ; s += o . secondGrid ) {
339+ for ( var s = o . secondMin ; s <= secMax ; s += o . secondGrid ) {
340340 secondGridSize ++ ;
341341 html += '<td>' + ( ( s < 10 ) ? '0' : '' ) + s + '</td>' ;
342342 }
You can’t perform that action at this time.
0 commit comments