New city law calls for mandatory jail time for gun offenders