dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

Parse 1mon ago

Open serhii73 opened this issue 3 years ago • 2 comments

from dateparser import parse

parse('1mon ago')

>> None

serhii73 avatar Jan 11 '23 17:01 serhii73

Be sure that after fixing this issue, The behavior of the dateparser should be:

In [2]: dateparser.parse('Mon, 05 Dec 2022 19:43:03 GMT') is None
Out[2]: False

serhii73 avatar Jan 12 '23 08:01 serhii73

https://github.com/scrapinghub/dateparser/pull/1121 - to understand the context

serhii73 avatar Jan 13 '23 10:01 serhii73