fixed issue where date (not datetime) field values weren't being properly formatted before saving and thus causing an error.