Some code was still using the date and datetime fields as if they were strings, but they are now dates and datetimes