Hello,
I have an app that need to get time info, in the browsers zone. For example, if a user is in the +01:00 (Paris) timezone and he inputs 22:00:00, The timezone info should be there so I can tell this is a 21:00:00 UTC timestamp.
I have made some tests and JSON.stringy()
default function includes the timezone info. Example:
var value = {time: $$('$datepicker4').getValue()}
JSON.stringify(value);
//=> "{"date":"2017-01-05T21:00:00.000Z"}"
But when submitting a form, webix uses it’s built-in stringify
function, resulting in a string without timezone info:
var value = {time: $$('$datepicker4').getValue()}
webix.ajax().stringify(value);
//=> "{"date":"2017-01-05T22:00:00"}"
Is that the expected behavior? If it is, how I can make my form submit this value with the timezone info included?