From dba848fda912049cbe9abda70cd205bd6ccaa4b3 Mon Sep 17 00:00:00 2001 From: mblakley Date: Fri, 29 Sep 2023 11:56:29 -0400 Subject: [PATCH] Use updated isGreaterThanOrEqualTo function from bignumber.js --- lib/connection/result/column.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connection/result/column.js b/lib/connection/result/column.js index 0cc155972..42671cbb8 100644 --- a/lib/connection/result/column.js +++ b/lib/connection/result/column.js @@ -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); }