-
Notifications
You must be signed in to change notification settings - Fork 489
Closed
Labels
Type: Bug - LanguageSubtype of bug, related to language dataSubtype of bug, related to language data
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: Bug - LanguageSubtype of bug, related to language dataSubtype of bug, related to language data