mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
ui: Format notification timestamps.
This commit is contained in:
@@ -1034,7 +1034,7 @@ class BasicSwap(BaseApp):
|
|||||||
def getNotifications(self):
|
def getNotifications(self):
|
||||||
rv = []
|
rv = []
|
||||||
for k, v in self._notifications_cache.items():
|
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
|
return rv
|
||||||
|
|
||||||
def vacuumDB(self):
|
def vacuumDB(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user