scrapinghub / dateparser

python parser for human readable dates
BSD 3-Clause "New" or "Revised" License
2.56k stars 465 forks source link

Parsing incorrect dates - inconsistencies #1180

Open bsekiewicz opened 1 year ago

bsekiewicz commented 1 year ago

Why

parse("2021-01-13", settings={'DATE_ORDER': 'YDM'}) return None

but

parse("2021-13-01", settings={'DATE_ORDER': 'YMD'}) return datetime.datetime(2021, 1, 13, 0, 0)

dateparser 1.1.8
Python 3.11.5