fix time and date format