forked from home-assistant/core
add newline
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user