Fix at custom date field bug.