Skip to content

Incorrect date parsing for multi-word number representations #1260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
serhii73 opened this issue Mar 20, 2025 · 1 comment
Open

Incorrect date parsing for multi-word number representations #1260

serhii73 opened this issue Mar 20, 2025 · 1 comment
Assignees

Comments

@serhii73
Copy link
Collaborator

serhii73 commented Mar 20, 2025

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 serhii73 self-assigned this Mar 20, 2025
@serhii73
Copy link
Collaborator Author

In [1]: from dateparser.search import search_dates

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant