scrapinghub / dateparser

python parser for human readable dates
BSD 3-Clause "New" or "Revised" License
2.57k stars 465 forks source link

Parse return Always None on server #1178

Open esmerlinp opened 1 year ago

esmerlinp commented 1 year ago

when i deploy my code on pythonanywhere server, parse return always None. local is Ok with the same version of datepaser and python.

matches = dateparser.parse(date_str, languages=['es'])
if not matches is None:
    mdate = matches.strftime("%d-%m-%Y %H:%M")
    print("dateparser matches", mdate )
Gallaecio commented 1 year ago

You should ask pythonanywhere what they do differently, if it works locally.