diff --git a/dist/gssql.js b/dist/gssql.js index 30fc688..a1e3699 100644 --- a/dist/gssql.js +++ b/dist/gssql.js @@ -2643,7 +2643,7 @@ class SelectTables { dayNum = Number(dateParts[1]); } - if (dateParts.length !==3 || (year == 0 && month == 0 && dayNum == 0)) { + if (dateParts.length !==3 || (year === 0 && month === 0 && dayNum === 0)) { return null; } } diff --git a/src/Views.js b/src/Views.js index ac1984c..3d4f504 100644 --- a/src/Views.js +++ b/src/Views.js @@ -872,7 +872,7 @@ class SelectTables { dayNum = Number(dateParts[1]); } - if (dateParts.length !==3 || (year == 0 && month == 0 && dayNum == 0)) { + if (dateParts.length !==3 || (year === 0 && month === 0 && dayNum === 0)) { return null; } }