https://kotlinlang.org logo
#ktor
Title
# ktor
r

Rodrigo Silva

03/30/2020, 5:09 PM
How a set a default timezone in ktor ?
v

vonox7

03/30/2020, 5:49 PM
if you aree on the JVM, just use
Copy code
TimeZone.setDefault(TimeZone.getTimeZone("UTC"))
r

Rodrigo Silva

03/30/2020, 6:09 PM
Thanks @vonox7
Did not work with datetime joda
97 Views