Fixed datetime format for migration