Fixed bug with importing custom date fields.