The US Senate passed a spending measure early on Saturday, ensuring that federal government funding will continue through mid-March, the New York Times reported.