https://kotlinlang.org logo
#exposed
Title
# exposed
t

Toby

06/01/2018, 10:20 AM
Hey guys, got a bit of an odd one here: I've got an exposed
date()
column (postgres
Date
) and I can store dates correctly in it. However, when I read from the database, it seems to create a DateTime with a one hour offset: Ie, I store
2018-04-27
in the db, it gets read as
2018-04-27T00:00:00.000+01:00
which is
2018-04-26
t

tapac

06/01/2018, 12:05 PM
Could you file an issue to https://github.com/JetBrains/Exposed/ with examples?
t

Toby

06/01/2018, 1:13 PM
👍
2 Views