Skip to content

Commit

Permalink
Use updated isGreaterThanOrEqualTo function from bignumber.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mblakley authored Sep 29, 2023
1 parent 11ed812 commit dba848f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connection/result/column.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ function convertRawTimestampTz(rawColumnValue, column, context)
valFracSecsWithTzBig.dividedBy(16384).integerValue(BigNumber.ROUND_FLOOR);

// extract the lowest 14 bits to get the timezone
if (valFracSecsWithTzBig.greaterThanOrEqualTo(0))
if (valFracSecsWithTzBig.isGreaterThanOrEqualTo(0))
{
timezoneBig = valFracSecsWithTzBig.modulo(16384);
}
Expand Down

0 comments on commit dba848f

Please sign in to comment.