Added logic to truncate anything after the first 10 character on date strings.