Shorten time format in ui and log.

This commit is contained in:
tecnovert committed 2023-12-01 22:40:35 +02:00
1 parent 0be5a4fca7
commit 9efb244952
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ def format_timestamp(value: int, with_seconds: bool = False) -> str:
str_format = '%Y-%m-%d %H:%M'
if with_seconds:
str_format += ':%S'
str_format += ' %Z'
str_format += ' %z'
return time.strftime(str_format, time.localtime(value))