Skip to content

unexpected keyword argument 'locale' #41

@mmoollllee

Description

@mmoollllee

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions