Typing a date in a datepicker

I have a datepicker field, which is editable.

I would like to type in dates like 22092015, that is: day month year but without separators between them. Day and month always two characters, and the year 4 (or just two).

When I type this in a standard datepicker, it is converted to a date, but just what seems as a rather random date. (The above example will be to 17/11/62485)

How can I do the conversion the way I want?
And what is webix doing to my input, to get to that day so long in the future?

By default, parsing function splits the string in number group and process them as units based on the date format. In your case 22092015 was processed as a number of days.

It possible to define a custom date parsing function, something like next

http://webix.com/snippet/e801757f