gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: date objects


From: gnunet
Subject: [libeufin] branch master updated: date objects
Date: Fri, 24 Jan 2020 17:03:07 +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 fa12636  date objects
fa12636 is described below

commit fa126363461ecaf26c540e55fae9fae7a02b2d62
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 24 17:03:01 2020 +0100

    date objects
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 4 ++--
 1 file changed, 2 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 cd60b50..314d1e9 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -261,8 +261,8 @@ fun main() {
                             subject = it.subject,
                             amount = "${it.amount.signToString()}${it.amount} 
EUR",
                             counterpart = it.counterpart,
-                            operationDate = it.operationDate.toString("Y-M-d"),
-                            valueDate = it.operationDate.toString("Y-M-d")
+                            operationDate = 
DateTime(it.operationDate).toString("Y-M-d"),
+                            valueDate = 
DateTime(it.valueDate).toString("Y-M-d")
                         )
                     )
                 }

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



reply via email to

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