Index: org/postgresql/core/v3/ConnectionFactoryImpl.java =================================================================== RCS file: /usr/local/cvsroot/pgjdbc/pgjdbc/org/postgresql/core/v3/ConnectionFactoryImpl.java,v retrieving revision 1.8 diff -c -r1.8 ConnectionFactoryImpl.java *** org/postgresql/core/v3/ConnectionFactoryImpl.java 11 Dec 2004 03:31:52 -0000 1.8 --- org/postgresql/core/v3/ConnectionFactoryImpl.java 18 Dec 2004 04:47:11 -0000 *************** *** 80,91 **** if (trySSL) newStream = enableSSL(newStream, requireSSL, info); // Construct and send a startup packet. String[][] params = { { "user", user }, { "database", database }, { "client_encoding", "UNICODE" }, ! { "DateStyle", "ISO" } }; sendStartupPacket(newStream, params); --- 80,94 ---- if (trySSL) newStream = enableSSL(newStream, requireSSL, info); + String zone = java.util.TimeZone.getDefault().getID(); + // Construct and send a startup packet. String[][] params = { { "user", user }, { "database", database }, { "client_encoding", "UNICODE" }, ! { "DateStyle", "ISO" }, ! { "TimeZone", zone} }; sendStartupPacket(newStream, params);