[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: fix time
From: |
gnunet |
Subject: |
[libeufin] branch master updated: fix time |
Date: |
Tue, 24 Mar 2020 16:06:33 +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 c65d3ce fix time
c65d3ce is described below
commit c65d3ce777a735dc7f13cdab5b2326722bb035f1
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Mar 24 16:06:15 2020 +0100
fix time
---
util/src/main/kotlin/time.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/src/main/kotlin/time.kt b/util/src/main/kotlin/time.kt
index 1173ffd..0b76db1 100644
--- a/util/src/main/kotlin/time.kt
+++ b/util/src/main/kotlin/time.kt
@@ -8,7 +8,7 @@ import java.time.format.DateTimeFormatter
fun DateTime.toZonedString(): String {
val dateFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME
- val instant = java.time.Instant.ofEpochSecond(this.millis)
+ val instant = java.time.Instant.ofEpochMilli(this.millis)
val zoned = ZonedDateTime.ofInstant(instant, ZoneId.systemDefault())
return dateFormatter.format(zoned)
}
--
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 time,
gnunet <=