Any person who fails to comply with the provisions of this chapter shall, upon conviction thereof, forfeit a penalty as provided in § 1-4 of this Code, and, in default of payment of such forfeiture and costs, shall be imprisoned in the County Jail until payment thereof, but not exceeding 30 days. Each day a violation exists or continues shall constitute a separate offense.