The City Commission may provide in ordinances adopted by it for the punishment of violations thereof. Such punishment may be a fine of not to exceed five hundred dollars ($500) or imprisonment for not more than ninety (90) days, or both, in the discretion of the court. Imprisonment for violations of ordinances may be in the City or County jail.