We use timepicker when user select 2:00 PM from timepicker in our database we received data 2:00 AM !
Its not happen to all user, we investigate about this then we found that user use huawei mobile.
Mozilla/5.0 (Linux; Android 10; LYA-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
This is what we have. so this user whenever try to select timepicker value PM its return AM. Please advise how to fix this.
Hello there,
We use timepicker when user select 2:00 PM from timepicker in our database we received data 2:00 AM !
Its not happen to all user, we investigate about this then we found that user use huawei mobile. Mozilla/5.0 (Linux; Android 10; LYA-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36 This is what we have. so this user whenever try to select timepicker value PM its return AM. Please advise how to fix this.
Our sample code:
jQuery('#time').timepicker({ timeFormat: 'h:mm p', interval: 30, minTime: 8:00 AM, maxTime: 6:00 PM, startTime: 8:00 AM, dynamic: false, dropdown: true, scrollbar: true, });