mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 06:17:07 +00:00
add newline
This commit is contained in:
parent
45d67176c5
commit
a70c32da3c
@ -108,6 +108,7 @@ def str_to_datetime(dt_str):
|
|||||||
except ValueError: # If dt_str did not match our format
|
except ValueError: # If dt_str did not match our format
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def timestamp_to_short_time_str(timestamp):
|
def timestamp_to_short_time_str(timestamp):
|
||||||
""" Converts a UNIX timestamp to a short time string format.
|
""" Converts a UNIX timestamp to a short time string format.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user