File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ oracledb 2.0.0 (TBD)
1313Thin Mode Changes
1414+++++++++++++++++
1515
16+ #) Fixed bug in detecting the current time zone
17+ (`issue 257 <https://github.com/oracle/python-oracledb/issues/257 >`__).
1618#) Fixed bug in handling database response in certain unusual circumstances.
1719#) Fixed bug in handling exceptions raised during connection establishment.
1820#) Fixed bug in identifying bind variables in SQL statements containing
Original file line number Diff line number Diff line change @@ -1457,7 +1457,7 @@ cdef class AuthMessage(Message):
14571457 str sign, tz_repr
14581458 tz_repr = os.environ.get(" ORA_SDTZ" )
14591459 if tz_repr is None :
1460- timezone = - time.altzone if time.daylight else - time.timezone
1460+ timezone = time.localtime().tm_gmtoff
14611461 tz_hour = timezone // 3600
14621462 tz_minute = (timezone - (tz_hour * 3600 )) // 60
14631463 if tz_hour < 0 :
You can’t perform that action at this time.
0 commit comments