Fix a small type of DateTime object