fix date format in table