chore(shared): explicit function name time_fromisoformat (#1917)

This commit is contained in:
Jonas L 2022-06-25 17:10:59 +02:00 committed by GitHub
parent 1faf5a724b
commit 6ef941b3f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -14,7 +14,7 @@ def time_in_milliseconds(value: time) -> float:
return time_in_seconds(value) * 1000
def fromisoformat(value: str) -> time:
def time_fromisoformat(value: str) -> time:
"""
This is required for Python 3.6 support. datetime.time.fromisoformat was
only added in Python 3.7. Until LibreTime drops Python 3.6 support, this