dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

Parse return Always None on server

Open esmerlinp opened this issue 2 years ago • 1 comments

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 )

esmerlinp avatar Aug 18 '23 21:08 esmerlinp

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

Gallaecio avatar Aug 21 '23 14:08 Gallaecio