fix the datetime format