Skip to content

PytzUsageWarning: The localize method is no longer necessary #1089

Closed
@Ibo0815

Description

Full Usage warning:
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 date_obj = stz.localize(date_obj)

Line 35 in date_parser.py

Occurs when parsing this here: "2022-10-03 22:00:00"

Python Version:
3.9.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions