You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't check it further but it seems that it fails when the locale is zh. As a workaround, you can select a subset of languages without including zh, with languages=. For example:
>>>dateparser.parse("10/2017", settings={"STRICT_PARSING": True}, languages=['en'])
# it returns `None`
Activity
noviluni commentedon Dec 3, 2020
Hi @realizard This is definitely a bug.
I didn't check it further but it seems that it fails when the locale is
zh. As a workaround, you can select a subset of languages without includingzh, withlanguages=. For example: