California Welfare and Institutions Code Section 1833
CA Welf & Inst Code § 1833 (2017)
Whenever the ward is not employed and between the hours or periods of employment, he shall be confined in a detention facility unless the court or administrator directs otherwise.