rezemika / humanized_opening_hours

A parser for the opening_hours fields from OpenStreetMap
GNU Affero General Public License v3.0
26 stars 20 forks source link

unexpected keyword argument 'locale' #41

Open mmoollllee opened 3 months ago

mmoollllee commented 3 months ago

When using the intro code:

import humanized_opening_hours as hoh
field = "Mo-Fr 06:00-21:00; Sa,Su 08:00-12:00"
oh = hoh.OHParser(field, locale="en")

I get

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: __init__() got an unexpected keyword argument 'locale'