mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Removed timezone in ResultSet.getTimestamp()
This commit is contained in:
parent
5abea5fe13
commit
228a5e708c
@ -1,3 +1,6 @@
|
|||||||
|
Thu Jun 01 07:26:00 BST 2000 petermount@it.maidstone.gov.uk
|
||||||
|
- Removed timezone in getTimestamp() methods in ResultSet.
|
||||||
|
|
||||||
Mon May 15 22:30:00 BST 2000 peter@retep.org.uk
|
Mon May 15 22:30:00 BST 2000 peter@retep.org.uk
|
||||||
- Fixed the message Makefile produces after compiling. It still said
|
- Fixed the message Makefile produces after compiling. It still said
|
||||||
about the old Driver class, not the new package. Spotted by
|
about the old Driver class, not the new package. Spotted by
|
||||||
|
@ -437,7 +437,7 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
|
|||||||
if(s==null)
|
if(s==null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:sszzz");
|
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return new Timestamp(df.parse(s).getTime());
|
return new Timestamp(df.parse(s).getTime());
|
||||||
|
@ -439,7 +439,7 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
|
|||||||
if(s==null)
|
if(s==null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:sszzz");
|
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return new Timestamp(df.parse(s).getTime());
|
return new Timestamp(df.parse(s).getTime());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user