mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
ui: Format notification timestamps.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user