Fix the datetime format