switch datetimes to ISO 8601 format