When i use getValue() from a datepicker, time is ot included in the string. How to include the time?
{ view:“datepicker”, id:“frmStart”, label:“Start date”, labelWidth:120, width:320, stringResult:true, timepicker:true, format:"%d %M %Y at %H:%i" },
I’ve solved it by setting stringResult to false so it return date object instead of string.
Currently datepicker uses format property only to display format in the calendar, for getValue it uses locale based date format. You can change global behavior by using the next code
webix.i18n.parseFormat = "%Y-%m-%d %H:%i"; webix.setLocale();
It will affect all datepickers on the page.
Thank you, this is much more convenient.