631. (Amended by Stats. 1989, Ch. 686, Sec. 1.)
(a)Except as provided in subdivision (b), whenever a minor…#
(a) Except as provided in subdivision (b), whenever a minor is taken into custody by a peace officer or probation officer, except when the minor willfully misrepresents himself or herself as 18 or more years of age, the minor shall be released within 48 hours after having been taken into custody, excluding nonjudicial days, unless within that period of time a petition to declare the minor a ward has been filed pursuant to this chapter or a criminal complaint against the minor has been filed in a court of competent jurisdiction.