@@ -16,7 +16,8 @@ import {
1616 convert24hTo12h ,
1717 getAmPm ,
1818 getListOfHours ,
19- getMinutesOrSeconds ,
19+ getListOfMinutes ,
20+ getListOfSeconds ,
2021 isAmPm ,
2122 isValidTime
2223} from './util/time'
@@ -347,9 +348,9 @@ class TimePicker extends Picker {
347348 this . _timePickerBody . append (
348349 this . _createSelect ( 'hours' , getListOfHours ( this . _config . locale ) ) ,
349350 timeSeparatorEl . cloneNode ( true ) ,
350- this . _createSelect ( 'minutes' , getMinutesOrSeconds ( ) ) ,
351+ this . _createSelect ( 'minutes' , getListOfMinutes ( this . _config . locale , true ) ) ,
351352 timeSeparatorEl ,
352- this . _createSelect ( 'seconds' , getMinutesOrSeconds ( ) )
353+ this . _createSelect ( 'seconds' , getListOfSeconds ( this . _config . locale , true ) )
353354 )
354355
355356 if ( isAmPm ( this . _config . locale ) ) {
@@ -362,8 +363,8 @@ class TimePicker extends Picker {
362363 _createTimePickerRoll ( ) {
363364 this . _timePickerBody . append (
364365 this . _createTimePickerRollCol ( getListOfHours ( this . _config . locale ) , 'hours' ) ,
365- this . _createTimePickerRollCol ( getMinutesOrSeconds ( ) , 'minutes' ) ,
366- this . _createTimePickerRollCol ( getMinutesOrSeconds ( ) , 'seconds' )
366+ this . _createTimePickerRollCol ( getListOfMinutes ( this . _config . locale ) , 'minutes' ) ,
367+ this . _createTimePickerRollCol ( getListOfSeconds ( this . _config . locale ) , 'seconds' )
367368 )
368369
369370 if ( isAmPm ( this . _config . locale ) ) {
0 commit comments