Thread
#exposed
    g

    Gustav Elmgren

    3 weeks ago
    Hi guys, I have some trouble understanding something, it is related to the
    timestamp
    type in exposed. I have a postgres db with with a table that has a
    timestamp
    column. And the
    timestamp
    in exposed is of
    JavaInstantColumnType
    . Both instant and the column type in postgres does not have a concept of timezones. So why is the system timezone applied when I fetch the column via exposed? Is this possible to prevent?
    Also, this seems to be the behavior when inserting as well.
    Nvm again, it seems to be
    java.sql.Timestamp
    that is rather strange.