gnunet-svn
[Top][All Lists]
Advanced

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

[taler-blog] branch master updated: date format


From: gnunet
Subject: [taler-blog] branch master updated: date format
Date: Thu, 19 Dec 2019 20:28:48 +0100

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

dold pushed a commit to branch master
in repository blog.

The following commit(s) were added to refs/heads/master by this push:
     new f31b0bd  date format
f31b0bd is described below

commit f31b0bd40e27b3e9460c8a14c94aa753c86171f3
Author: Florian Dold <address@hidden>
AuthorDate: Thu Dec 19 20:28:45 2019 +0100

    date format
---
 talerblog/blog/blog.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/talerblog/blog/blog.py b/talerblog/blog/blog.py
index ca83a76..fc39150 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -342,8 +342,8 @@ def article(article_name, data=None):
             fulfillment_url=flask.request.base_url,
             summary="Essay: " + article_name.replace("_", " "),
             # 10 minutes time for a refund
-            refund_deadline=f"/Date({int(time.time()) + 10 * 30})/",
-            wire_transfer_deadline=f"/Date({int(time.time()) + 15 * 30})/",
+            refund_deadline=dict(t_ms=1000*int(time.time() + 10 * 30)),
+            wire_transfer_deadline=dict(t_ms=1000*int(time.time() + 15 * 30)),
         )
         order_resp = backend_post("order", dict(order=order))
         order_id = order_resp["order_id"]

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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