Fixed datetime format warnings.