Skip to content
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

Portuguese (pt) interpreted incorrectly as M/D/YYY (should be DD/MM/YYYY) #1225

Open
sglebs opened this issue May 25, 2024 · 0 comments
Open
Labels
Type: Bug - Language Subtype of bug, related to language data

Comments

@sglebs
Copy link

sglebs commented May 25, 2024

06/02/2024 in portuguese is a date in February, but date parser 1.1.8 parses as a date in June.


>>> from dateparser.search import search_dates
>>> d = search_dates("Atualizado por Victória Sbrogio em 06/02/2024 16:22", languages=["pt"])
>>> d
[('em 06/02/2024 16:22', datetime.datetime(2024, 6, 2, 16, 22))]
>>>

@Gallaecio Gallaecio added the Type: Bug - Language Subtype of bug, related to language data label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug - Language Subtype of bug, related to language data
Projects
None yet
Development

No branches or pull requests

2 participants