chore(shared): explicit function name time_fromisoformat (#1917)
This commit is contained in:
parent
1faf5a724b
commit
6ef941b3f2
3 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue