Closed kaylynnnn closed 1 year ago
What happens if you force the language to English?
What happens if you force the language to English?
>>> import dateparser
>>> dateparser.parse("in 1d", languages=["en"])
>>>
I get the same result.
It was fixed in https://github.com/scrapinghub/dateparser/pull/1103
There's an issue parsing in "in 1d" with dateparser where it returns
None
butin 1s
,in 1m
,in 1h
andin 1w
returns the appropriate times.