Ignoring timezones

Hi to all i have a question regarding the datepicker, i have a server side check that refused Date that contains the time zone, is there a way to ignore the time zone, to obtain a date object without it?

Example:

Date object with timezone: 2015-12-28T10:12:36Zxxxx ( default date not valid )

Date object without timezone: 2015-12-28T10:12:36 ( valid date format )

Unfortunately, you cannot modify the date object that is returned by datepicker.

But you can define stringResult property for it and reset the app’s webix.i18n.parseTimeFormatStr property. Then you can get string value in any desired format, but it will be common for all string dates in the app.

Alternatively, you can create a custom control that inherits from the datepicker and redefines its getValue method: http://webix.com/snippet/1ec79a00