[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: fix default date
From: |
gnunet |
Subject: |
[libeufin] branch master updated: fix default date |
Date: |
Tue, 17 Mar 2020 18:24:14 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new e2ee4a1 fix default date
e2ee4a1 is described below
commit e2ee4a14ba2fb136cc0c9533efa6b39e304ca1cb
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Mar 17 18:24:04 2020 +0100
fix default date
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index e4338eb..ea85bf5 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -232,9 +232,10 @@ fun main() {
val ret = CustomerHistoryResponse()
val history = extractHistory(
customer.id.value,
- DateTime.parse(req.start),
- DateTime(req.end)
+ DateTime.parse(req.start ?: "1970-01-01"),
+ DateTime.parse(req.end ?: "3000-01-01")
)
+
transaction {
history.forEach {
ret.history.add(
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: fix default date,
gnunet <=