fix date and time format