mirror of
https://github.com/basicswap/basicswap.git
synced 2025-03-12 09:38:03 +00:00
ui: Format notification timestamps.
This commit is contained in:
parent
5701f6e830
commit
3c2eb5f9f8
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue