helpers: Fix issue with usage of pad_time_component
This commit is contained in:
1 parent
2f61c902eb
commit
914558a00c
1 file changed
+1
-1
@@ -37,7 +37,7 @@ def format_time(time_str):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
return time_str
|
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):
|
def format_warning(warning):
|
||||||
|
|||||||
Reference in new issue
Block a user