Date formatting

I am confused now. I copy pasted basic example from documentation ( Date cell type - JavaScript Data Grid | Handsontable ) and changed dateFormat to ‘YYYY-MM-DD’. But the dates in the table don’t change to this format. What am I missing?