A bill that would give Pennsylvania school districts greater flexibility to have shorter school weeks or longer days, as long as students meet an annual minimum of instructional time, is headed to the governor’s desk for his approval.

The legislation passed both chambers unanimously. It changes Pennsylvania law to allow for schools to complete the school year in either a minimum of 180 days or 900 hours at the elementary level and 990 at the secondary level. Currently, schools must do both.

PENNSYLVANIA SCHOOL CHOICE PROGRAM SLAMMED BY CRITICS CALLING FOR BOOST IN PUBLIC EDUCATION FUNDING

A spokesperson said Democratic Gov. Josh Shapiro plans to sign it.

A photo of Josh Shapiro

Then-Pennsylvania Attorney General Josh Shapiro reacts during introductory speeches during a Northampton County Meet & Greet event at United Steelworkers on September 22, 2022 in Bethlehem, Pennsylvania. (Mark Makela/Getty Images)

Sponsors said Pennsylvania has been one of fewer than 20 states with both minimum day and minimum hour requirements. They argued that it has held schools to rigid schedules that do not allow for flexibility in addressing student needs.

The bill would give schools the ability to make changes to accommodate weather conditions, professional development and community events, supporters said. It also can help accommodate student apprenticeships, internships, and career and technical education programs.

CLICK HERE TO GET THE FOX NEWS APP

It will also let schools track students who learn remotely through hours of instruction, rather than days.