New legislation in California could allow communities to extend alcohol sales by two hours in the state.

Senate Bill 384 was proposed in February and passed the state Senate on Wednesday which was a big hurdle for the would-be law.

Right now in California, alcohol sales are not permitted between 2 a.m. and 6 a.m., but if this bill were to be signed into law by Gov. Jerry Brown, sales would be permitted until 4 a.m. if communities choose.

It’s known as the LOCAL Act — or as the “Let Our Communities Adjust Late Night” Act.

The goal of the bill would be to boost the state economy by allowing bars and nightclubs to stay open later and take in more income.

“We can and should empower local communities to make responsible decisions about nightlife in our state,” said Sen. Scott Wiener (D-San Francisco). “Nightlife is an important part of the culture and economy of many cities throughout our large and diverse state, and the LOCAL Act recognizes this fact by granting local control to extend hours of alcohol sales. This nuanced approach will help us support nightlife, while also respecting communities that prefer to keep alcohol service hours as they are.”

The bill as it stands does not apply to liquor stores.

Twenty states already allow alcohol sales past 2 a.m.

The bill now moves to the California state Assembly. If approved, it would go to the governor’s desk.