helpers: Fix issue with usage of pad_time_component
This commit is contained in:
parent
2f61c902eb
commit
914558a00c
@ -37,7 +37,7 @@ def format_time(time_str):
|
||||
except ValueError:
|
||||
return time_str
|
||||
|
||||
return f"{date.day}.{date.month}.{date.year} {pad_time_component(date.hour)}:{pad_time_component(date.minute)}"
|
||||
return f"{date.day}.{date.month}.{date.year} {pad_time_component(str(date.hour))}:{pad_time_component(str(date.minute))}"
|
||||
|
||||
|
||||
def format_warning(warning):
|
||||
|
Loading…
Reference in New Issue
Block a user