data schema uses only datetime objects, even when the field type is a date object