This is a myth.
If you look at lists of dumb laws on the Internet, you'll see this one listed commonly. This google search turns up dozens, possibly hundreds, of sites claiming this to be true.
But if you download the Village of Oblong ordinances you'll find 548 pages of fairly dull reading, but no mention of this law.
Be careful of trusting such sites - and ask here on Legal Answers Wikia if you want help researching!