fixes different date formats in cell renderer and cell editor
fixes issue #1027