[libpostgresql-jdbc-java] 93/93: reverted use DSTSavings when converting to timestamp see #133

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:18:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to annotated tag REL9_3_1102
in repository libpostgresql-jdbc-java.

commit 820d560ff5ade8cd63083339d23b655ba5def6a7
Author: Dave Cramer <davecramer at gmail.com>
Date:   Thu Jul 10 10:13:42 2014 -0400

    reverted use DSTSavings when converting to timestamp see #133
---
 org/postgresql/jdbc2/TimestampUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org/postgresql/jdbc2/TimestampUtils.java b/org/postgresql/jdbc2/TimestampUtils.java
index 5e9427a..03af10c 100644
--- a/org/postgresql/jdbc2/TimestampUtils.java
+++ b/org/postgresql/jdbc2/TimestampUtils.java
@@ -768,7 +768,7 @@ public class TimestampUtils {
             if (tz == null) {
                 tz = defaultTz;
             }
-            millis -= tz.getOffset(millis) + tz.getDSTSavings();
+            millis -= tz.getOffset(millis);
         }
 
         Timestamp ts = new Timestamp(millis);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git



More information about the pkg-java-commits mailing list