Set minutes in datetime issue - Version 2.0.9
See original GitHub issueHi!
I opened datetime anypicker, with minutes round between 0 and 30.
If I not click in minutes and click “Guardar” directly, the minutes not show correctly. Input show 31 minutes and not show 0.
Code is:
$("#ip-deInicio").AnyPicker({ mode: "datetime", showComponentLabel: true, dateTimeFormat: "HH:mm", intervals: { h: 1, m: 30 }, layout: "popup", roundOff: true, i18n: { headerTitle: "Seleccionar", setButton: "Guardar", cancelButton: "Salir", componentLabels: { hours: "Hora", minutes: "Minutos" } } });
Any tips? Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
I have solved this problem please check anypicker.js please check this image
You can modify this point
dInput.getMinutes()
Thanks
Thanks friend!!
Good job!