We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to parse french text and noticed that words with dots preceding the date will break the parser
print(search_dates("TAS le 10/01", settings={'DATE_ORDER': 'DMY'})) #[('le 10/01', datetime.datetime(2024, 1, 10, 0, 0))] print(search_dates("T.A.S le 10/01", settings={'DATE_ORDER': 'DMY'})) #None
Changing le for on does fix it though
le
on
print(search_dates("TAS on 10/01", settings={'DATE_ORDER': 'DMY'})) #[('on 10/01', datetime.datetime(2024, 1, 10, 0, 0))] print(search_dates("T.A.S on 10/01", settings={'DATE_ORDER': 'DMY'})) #[('on 10/01', datetime.datetime(2024, 1, 10, 0, 0))]
Is there anything I can do with the settings to fix that? Thanks a lot
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to parse french text and noticed that words with dots preceding the date will break the parser
Changing
le
foron
does fix it thoughIs there anything I can do with the settings to fix that?
Thanks a lot
The text was updated successfully, but these errors were encountered: