Glow Datetime selector is not giving proper data

Hi All,

I am using glow time selector by below code and it looks like below image in version 12x

jQuery("#eventStartTime").glowDateTimeSelector({

'allowBlankvalue': false,
'pattern':'<1-12>:<00-59> <am,pm>',
'hourIndex': 0,
'minuteIndex:' : 1,
'amPmIndex': 2

});

but problem is that I am selecting all hour/minute/ am/pm but in editor after selection only showing hour and am/pm you can follow the image for more clarification.

please suggest me  solution