Hi ok it seems we talk about different things … or my comment at line 266-269 is not correct.
What I want to say with this lines is: That only with the x-editable feature the datatype is set with a string. And expected is a DateTime object. Don't know why that happens, but it happens and so I've to make the hack with the if ….