fix dataFormat -> dateFormat
change format type for date