A. 
In all cases of conviction for the violation of any provisions of this code or any ordinance of the city or any rule, regulation or order promulgated pursuant thereto, the person so convicted, when the sentence includes imprisonment, shall be imprisoned in the City or County Jail for the period prescribed in the sentence.
B. 
Persons confined in the City Jail under a final judgment of imprisonment for violation of any ordinance or persons confined in accordance with Penal Code Section 4022, with the consent of the city may be required by the chief of police to perform labor on the streets or other public property or works within the city.
C. 
The phrase "streets or other public property or works within the city," as used in this section, includes, among other things, clerical and menial labor in the City Jail, or in any camp maintained for the labor of such persons on the streets or other public property, or works within the city.
D. 
The city council may prescribe and enforce the rules and regulations under which such labor is to be performed; and may provide clothing of such distinctive character for the persons as the city council in its discretion may deem proper.
(Ord. 846, 1972; Ord. 1204, 1983)