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

The localize method is no longer necessary. Warning #1039

Closed
DaiZack opened this issue Feb 2, 2022 · 2 comments
Closed

The localize method is no longer necessary. Warning #1039

DaiZack opened this issue Feb 2, 2022 · 2 comments

Comments

@DaiZack
Copy link

DaiZack commented Feb 2, 2022

got this warning, the function still works fine.

/usr/local/lib/python3.8/dist-packages/dateparser/date_parser.py:35: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html

@DavidMStraub
Copy link

Duplicate of #1013

@gutsytechster
Copy link
Collaborator

This can be closed now with the merge of #1062

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

3 participants