Datatable date format

I have a date return from SQL that is “2015-01-22T00:00:00”. When I try to do a format, it will return NaN/NaN/NaN in the output. I want to return yyyy-mm-dd.

This is my column declaration:
{
id: “AssignedDate”,
header: [{ text: “Assigned Date” }, { content: “selectFilter” }],
format: webix.i18n.dateFormatStr,
sort: “date”,
width: 150
},

Default date format is “y-m-d h:m”

http://webix.com/snippet/0f9366bc

One that you are using is not exactly the same, because of “T” character between date and time.