Skip to content

Parsing Japanese style date with given language swaps months and days #1253

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
gbizzotto opened this issue Feb 22, 2025 · 0 comments
Open

Comments

@gbizzotto
Copy link

gbizzotto commented Feb 22, 2025

> dateparser.parse("2024-10-05")
datetime.datetime(2024, 10, 5, 0, 0) # OK

> dateparser.parse("2024-10-05", languages=['pt', 'es'])
datetime.datetime(2024, 5, 10, 0, 0) # Wrong afaik

System info:

> sys.version
'3.8.10 (default, Jan 17 2025, 14:40:23) \n[GCC 9.4.0]'

Version i got from apt:
dateparser-1.2.1-py3-none-any.whl (295 kB)

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