ui: Add timezone info to timestamps.

2024-05-20_merge
tecnovert 3 years ago
parent 81e9924654
commit 411e6ebb6c
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 1
      basicswap/util.py

@ -323,6 +323,7 @@ def format_timestamp(value, with_seconds=False):
str_format = '%Y-%m-%d %H:%M'
if with_seconds:
str_format += ':%S'
str_format += ' %Z'
return time.strftime(str_format, time.localtime(value))

Loading…
Cancel
Save