summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2020-03-24 16:51:44 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2020-03-24 16:51:44 +0100
commitdc5fda177230a133c80b4b477c4d6a381c65ee11 (patch)
treefa48fd5711cc60bc61d984003d4d2938b9b98e36 /util
parentc65d3ce777a735dc7f13cdab5b2326722bb035f1 (diff)
downloadlibeufin-dc5fda177230a133c80b4b477c4d6a381c65ee11.tar.gz
libeufin-dc5fda177230a133c80b4b477c4d6a381c65ee11.tar.bz2
libeufin-dc5fda177230a133c80b4b477c4d6a381c65ee11.zip
fill with pseudo-valid details
Diffstat (limited to 'util')
-rw-r--r--util/src/main/kotlin/time.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/src/main/kotlin/time.kt b/util/src/main/kotlin/time.kt
index 0b76db19..e2d2df9d 100644
--- a/util/src/main/kotlin/time.kt
+++ b/util/src/main/kotlin/time.kt
@@ -5,7 +5,6 @@ import java.time.ZoneId
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
-
fun DateTime.toZonedString(): String {
val dateFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME
val instant = java.time.Instant.ofEpochMilli(this.millis)
@@ -15,4 +14,4 @@ fun DateTime.toZonedString(): String {
fun DateTime.toDashedDate(): String {
return this.toString("Y-MM-dd")
-}
+} \ No newline at end of file