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

Parse return Always None on server #1178

Open
esmerlinp opened this issue Aug 18, 2023 · 1 comment
Open

Parse return Always None on server #1178

esmerlinp opened this issue Aug 18, 2023 · 1 comment

Comments

@esmerlinp
Copy link

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants