Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use direct wire format -> LocalDate conversion without resorting to java.util.Date, java.util.Calendar, and default timezones #2464

Merged
merged 1 commit into from
Mar 3, 2022

Commits on Mar 3, 2022

  1. feat: use direct wire format -> LocalDate conversion without resortin…

    …g to java.util.Date, java.util.Calendar, and default timezones
    
    Both text and binary formats for date and timestamp contain all the information
    that is needed to instantialte LocalDate. There's no need to roundtrip with Date and timezones.
    
    Converting database results into LocalDate directly reduces the number of moving parts and it makes
    the code easier to follow.
    
    fixes pgjdbc#2221
    uschindler authored and vlsi committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    c02aa77 View commit details
    Browse the repository at this point in the history