1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Removed timezone in ResultSet.getTimestamp()

This commit is contained in:
Peter Mount
2000-06-01 06:33:01 +00:00
parent 5abea5fe13
commit 228a5e708c
3 changed files with 5 additions and 2 deletions

View File

@ -437,7 +437,7 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
if(s==null)
return null;
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:sszzz");
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
try {
return new Timestamp(df.parse(s).getTime());