Minor fix to datetime format