When a juvenile is taken into custody for a felony, such juvenile shall be released from juvenile hall within 48 hours (excluding non-judicial days) unless a petition has been filed or a criminal complaint has been filed if the subject is declared unfit. On misdemeanor arrests, the petition must be filed and the minor must appear in court within 48 hours, or on the next court day.
When a juvenile willfully misrepresents himself to be 18 years of age or older, and this misrepresentation effects a material delay in the investigation, such petition shall be filed within 48 hours from the time his true age is determined.