Fix datetime.