Change logic to display dates.