gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-bank] 03/04: fix Date() for /admin/add/incoming response


From: gnunet
Subject: [taler-bank] 03/04: fix Date() for /admin/add/incoming response
Date: Wed, 08 Jan 2020 17:54:23 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

commit 719b6581ec8e2ecda17386ff9f2d1657f35e9a5b
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]