Fix import of date.