Added assignment for nextDate in parseLocationData