Virginia voters will cast primary ballots later than usual this year after lawmakers shifted the election from June to August.