Adds the dates to the dataByType variable with isn't that smart.