Skip to Content.
Sympa Menu

freetds - JDBC: Problem with DSTOffset in binding date-values

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Schörk, Andreas" <andreas.schoerk AT infor.de>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Cc: freetds-jdbc-bugs AT internetcds.com
  • Subject: JDBC: Problem with DSTOffset in binding date-values
  • Date: Thu, 9 Nov 2000 16:41:36 +0100


Hello,
when sending Date-Values the DST is subtracted, when retrieving it is
subtracted once more.
So there is a 2 hour difference after retrieving during some periods in the
year.
I think the
ms -= getDstOffset(ms);
needs to be
ms += getDstOffset(ms);
in Tds.java.

Sorry, can´t send a correct diff because of not yet approved further changes
in Tds.java

Andreas









Archive powered by MHonArc 2.6.24.

Top of Page