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.
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:
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 isminggu
, same assunday
isminggu
, so theminggu
in the date translated intoweek
which does not make sense in English thus returning invalid date.