It shall be unlawful for any parent or guardian having legal custody of a minor to allow such minor to be or remain in or upon a public assembly, building, place, street, or highway in the city under circumstances not constituting an exception as enumerated in § 130.23, during the time periods contained in § 130.21.