-
Notifications
You must be signed in to change notification settings - Fork 94
Use ZoneInfo instead of dateutil to handle time zones. #2027
Copy link
Copy link
Open
Labels
category: enhancementimprovements of code or code behaviorimprovements of code or code behaviorhelp wanted: good first issuerequest for community contributions that are good for new contributorsrequest for community contributions that are good for new contributorspriority: lowalternative solution already working and/or relevant to only specific user(s)alternative solution already working and/or relevant to only specific user(s)
Milestone
Metadata
Metadata
Assignees
Labels
category: enhancementimprovements of code or code behaviorimprovements of code or code behaviorhelp wanted: good first issuerequest for community contributions that are good for new contributorsrequest for community contributions that are good for new contributorspriority: lowalternative solution already working and/or relevant to only specific user(s)alternative solution already working and/or relevant to only specific user(s)
Now that python 3.9 is minimal have you considered using ZoneInfo from the standard library instead of dateutil?
https://docs.python.org/3/library/zoneinfo.html
Eventually, you can eliminate another dependency and also there might be undesirable inconsistencies between the standard library approach and other libraries that would be good to avoid.