Date translation troubles

When I run this code, using the same data, I get dates from 2010 in the first column, but they should all be 2015 dates:

http://webix.com/snippet/a04b927c

For example:

Instead of 20 Mar 2015, I get 05 Feb 2010
Instead of 23 Mar 2015, I get 08 May 2010

I have tried different combinations of webix.dateToStr and webix.strToDate, and I just cannot figure out where things are going wrong.

I’m sure I’m missing something simple. Please help?

Wish there was a way to cancel this post. It turns out that the data I posted here does not exactly match what my application is process.

The date for appointment_date is being reformatted to m/d/Y prior to passing into webix.datatable, not Y-m-d. So, the map:"(date)#appointment_date" is not getting the string it expects.

It would be nice if the date “expectation” were noted somewhere, but I figured it out for my current circumstance.