Except as otherwise provided, if any person is arrested for a violation of any municipal ordinance adopted pursuant to this chapter, the arresting law enforcement officer or other municipal enforcement officer shall take the name and address of the person and issue a complaint or otherwise notify the person in writing to appear at a time and place to be specified in the complaint or notice. The time shall be at least five days after the arrest unless the person arrested demands an earlier hearing. If the person gives written promise to appear at the designated time and place, the officer shall release the person from custody. Any person refusing to give such written promise to appear may be prosecuted as in the manner of other violations of city ordinances.
SDCL 34A-7-15