dtable-utils
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -141,4 +141,4 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray'; | ||
var _targetDate2 = otherDate(filter_term_modifier, filter_term); | ||
_targetDate2 = dayjs(_targetDate2).format('YYYY-MM-DD'); | ||
return "`".concat(name, "` > '").concat(_targetDate2, "'"); | ||
var _nextDate = dayjs(_targetDate2).add(1, 'days').format('YYYY-MM-DD'); | ||
return "`".concat(name, "` >= '").concat(_nextDate, "' and `").concat(name, "` is not null"); | ||
} | ||
@@ -145,0 +145,0 @@ if (filter_predicate === FILTER_PREDICATE_TYPE.IS_ON_OR_BEFORE) { |
@@ -151,4 +151,4 @@ 'use strict'; | ||
var _targetDate2 = core.otherDate(filter_term_modifier, filter_term); | ||
_targetDate2 = dayjs__default["default"](_targetDate2).format('YYYY-MM-DD'); | ||
return "`".concat(name, "` > '").concat(_targetDate2, "'"); | ||
var _nextDate = dayjs__default["default"](_targetDate2).add(1, 'days').format('YYYY-MM-DD'); | ||
return "`".concat(name, "` >= '").concat(_nextDate, "' and `").concat(name, "` is not null"); | ||
} | ||
@@ -155,0 +155,0 @@ if (filter_predicate === filterPredicate.FILTER_PREDICATE_TYPE.IS_ON_OR_BEFORE) { |
{ | ||
"name": "dtable-utils", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "dtable common utils", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
897829