From e18d428587a941b35a0c04ba02fa587796f82634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 21 May 2020 23:57:15 +0200 Subject: [PATCH] use different dateformat --- src/Application.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Application.kt b/src/Application.kt index dcf4f0a..aa53204 100644 --- a/src/Application.kt +++ b/src/Application.kt @@ -22,6 +22,8 @@ fun main(args: Array): Unit = io.ktor.server.netty.EngineMain.main(args) fun Application.module() { install(ContentNegotiation) { gson { + setPrettyPrinting() + setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSSSS") } }