ui: Format notification timestamps.

This commit is contained in:
tecnovert 2022-10-21 20:51:50 +02:00
parent 5701f6e830
commit 3c2eb5f9f8
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93

View file

@ -1034,7 +1034,7 @@ class BasicSwap(BaseApp):
def getNotifications(self):
rv = []
for k, v in self._notifications_cache.items():
rv.append((k, int(v[0]), json.dumps(v[1])))
rv.append((time.strftime('%d-%m-%y %H:%M:%S', time.localtime(k)), int(v[0]), json.dumps(v[1])))
return rv
def vacuumDB(self):