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

Incorrect hungary date parsing #1015

Open
whalebot-helmsman opened this issue Nov 1, 2021 · 1 comment
Open

Incorrect hungary date parsing #1015

whalebot-helmsman opened this issue Nov 1, 2021 · 1 comment
Labels
Type: Bug - Language Subtype of bug, related to language data

Comments

@whalebot-helmsman
Copy link
Contributor

python -c 'import dateparser as D;p=D.DateDataParser(languages=["hu"]);print(p.get_date_data("október 29., péntek 9:13"))'              
{'date_obj': datetime.datetime(2029, 10, 1, 9, 13), 'period': 'day', 'locale': 'hu'}                    

vs

python -c 'import dateparser as D;p=D.DateDataParser(languages=["en"]);print(p.get_date_data("october 29., friday 9:13"))'              
{'date_obj': datetime.datetime(2021, 10, 29, 9, 13), 'period': 'day', 'locale': 'en'}   
@Gallaecio Gallaecio added the Type: Bug - Language Subtype of bug, related to language data label Nov 2, 2021
@whalebot-helmsman
Copy link
Contributor Author

Using #941 branch doesn't fix the problem

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