Skip to content

Regression in 1.5.1, PG date to/from java.sql.Date conversions #199

@pmichalek

Description

@pmichalek

After transition to winter time on night to 28th October 2018 calling TriggerResultSet.getDate(...) returns one day before.
DB: 28-10-2018 -> getDate(...) -> Java: 28-10-2018 (night was one hour longer)
DB: 29-10-2018 -> getDate(...) -> Java: 28-10-2018
DB: 30-10-2018 -> getDate(...) -> Java: 29-10-2018

Fedora 27 (time zone CET)
Java version 1.8.0.192 and 1.8.0.162
Postgresql 11.0 and 10.4 (timezone='Europe/Prague')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions