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

Problem in Bahasa Indonesia (ID) #398

Closed
feryandi opened this issue Mar 18, 2018 · 1 comment
Closed

Problem in Bahasa Indonesia (ID) #398

feryandi opened this issue Mar 18, 2018 · 1 comment
Labels
Type: Bug - Language Subtype of bug, related to language data

Comments

@feryandi
Copy link

feryandi commented Mar 18, 2018

I could not parse this string: "Minggu, 18 Mar 2018 07:30"
Which is basic Indonesia and linearly translate to English as "Sunday, 18 Mar 2018 07:30"

Here's my code:

import dateparser
print(dateparser.parse(u'Minggu, 18 Mar 2018 07:30'))

Interestinglly, "Senin, 18 Mar 2018 07:30" could be parsed correctly. (English: "Monday, 18 Mar 2018 07:30")

Further investigation leads to the incorrect translation from Indonesia to English,
week in Indonesia is minggu, same as sunday is minggu, so the minggu in the date translated into week which does not make sense in English thus returning invalid date.

@Gallaecio Gallaecio added the Type: Bug - Language Subtype of bug, related to language data label Dec 11, 2019
@Gallaecio
Copy link
Member

Fixed by #1134

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
Project board
Awaiting triage
Development

Successfully merging a pull request may close this issue.

2 participants