The legislation would keep Missouri in compliance with rules set by the national Democratic and Republican parties.

The primary scheduling provision is part of a broader elections bill that initially required presidential candidates to submit birth certificates to be listed on Missouri ballots. But that language was removed during House and Senate negotiations.

The legislation now goes to the House. The Legislature ends its annual session at 6 p.m. Friday.