[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Query dates with 'millis'.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Query dates with 'millis'. |
Date: |
Fri, 24 Jan 2020 22:04:10 +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 eef60b1 Query dates with 'millis'.
eef60b1 is described below
commit eef60b1dfb7467754af2cd4edd01ed5b105ddcff
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 24 22:03:48 2020 +0100
Query dates with 'millis'.
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 4549369..f9a8b67 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -207,7 +207,7 @@ fun calculateBalance(id: Int, start: String?, end:
String?): BigDecimal {
transaction {
BankTransactionEntity.find {
- BankTransactionsTable.localCustomer eq id and
BankTransactionsTable.operationDate.between(s, e)
+ BankTransactionsTable.localCustomer eq id and
BankTransactionsTable.operationDate.between(s.millis, e.millis)
}.forEach { ret += it.amount }
}
return ret
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Query dates with 'millis'.,
gnunet <=