Error in JDBC 'Date and Time' docs
Error in JDBC 'Date and Time' docs
От:
David Schmidt <david.schmiddi.86@gmail.com>
Дата:
Hi,
the docs at
https://jdbc.postgresql.org/documentation/head/8-date-time.html
tell me to use the OffsetTime class for TIMESTAMP WITH TIMEZONE.
https://jdbc.postgresql.org/documentation/head/8-date-time.html
tell me to use the OffsetTime class for TIMESTAMP WITH TIMEZONE.
Acording to my tests and the source, this is wrong and should be OffsetDateTime:
-David
Re: Error in JDBC 'Date and Time' docs
От:
Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Дата:
>tell me to use the OffsetTime class for TIMESTAMP WITH TIMEZONE.
Nice catch. Would you volunteer to update the docs?
Here's the relevant file: https://github.com/pgjdbc/www/blob/9c26d575dac8e3014fff29cf05b1e88ae322e481/documentation/head/8-date-time.md
It looks like "time with time zone" is missing in the table
Vladimir
Re: Error in JDBC 'Date and Time' docs
От:
Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Дата:
>tell me to use the OffsetTime class for TIMESTAMP WITH TIMEZONE.
Nice catch. Would you volunteer to update the docs?
Here's the relevant file: https://github.com/pgjdbc/www/blob/9c26d575dac8e3014fff29cf05b1e88ae322e481/documentation/head/8-date-time.md
It looks like "time with time zone" is missing in the table
Vladimir