From 411e6ebb6c708895698893168e46b95a927015bb Mon Sep 17 00:00:00 2001 From: tecnovert Date: Wed, 15 Dec 2021 09:10:49 +0200 Subject: [PATCH] ui: Add timezone info to timestamps. --- basicswap/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/basicswap/util.py b/basicswap/util.py index 46ccbb5..27320da 100644 --- a/basicswap/util.py +++ b/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))