dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

Incorrect date parsing for multi-word number representations

Open serhii73 opened this issue 8 months ago • 1 comments

Another issue I can bring up that I didn't find mentioned anywhere, is parsing dates like "двадцать четвёртое февраля", ignoring the first word, not being able to parse multi-word number representations and therefore producing incorrect results.

Originally posted by @IvanLuchkin in #918

serhii73 avatar Mar 20 '25 11:03 serhii73

In [1]: from dateparser.search import search_dates

In [2]: search_dates("двадцать четвёртое февраля")
Out[2]: [('февраля', datetime.datetime(2025, 2, 28, 0, 0))]

serhii73 avatar Apr 28 '25 10:04 serhii73