[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: fix Date() for /admin/add/incoming r
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: fix Date() for /admin/add/incoming response |
Date: |
Mon, 23 Dec 2019 11:44:18 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 0395fe4 fix Date() for /admin/add/incoming response
0395fe4 is described below
commit 0395fe4b4eb977042b791063a3c8f73d82595d49
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Dec 23 11:44:15 2019 +0100
fix Date() for /admin/add/incoming response
---
talerbank/app/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 4dfab7a..33146ff 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -912,7 +912,7 @@ def add_incoming(request, user_account):
)
return JsonResponse(
- {"row_id": wtrans.id, "timestamp": "/Date(%s)/" %
int(wtrans.date.timestamp())}
+ {"row_id": wtrans.id, "timestamp":
dict(t_ms=(int(wtrans.date.timestamp())*1000))}
)
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: fix Date() for /admin/add/incoming response,
gnunet <=