allow empty date cells and fix date format