c2-mongoose 2.1.17 → 2.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/flow/SearchFlow.js
CHANGED
|
@@ -253,7 +253,7 @@ var SearchFlow = /** @class */ (function () {
|
|
|
253
253
|
var values = value;
|
|
254
254
|
if ((0, Utils_1.isNotEmpty)(values[0])) {
|
|
255
255
|
var momentValue = (0, moment_1.default)(values[0]);
|
|
256
|
-
condition[fieldName] = __assign(__assign({}, condition[fieldName]), { $gte: momentValue.toDate() });
|
|
256
|
+
condition[fieldName] = __assign(__assign({}, condition[fieldName]), { $gte: momentValue.toDate().setHours(0, 0, 0) });
|
|
257
257
|
}
|
|
258
258
|
if ((0, Utils_1.isNotEmpty)(values[1])) {
|
|
259
259
|
var momentValue = (0, moment_1.default)(values[1]);
|
package/package.json
CHANGED
package/src/flow/SearchFlow.ts
CHANGED