c2-mongoose 2.1.171 → 2.1.172

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.
@@ -452,7 +452,7 @@ var SearchFlow = /** @class */ (function () {
452
452
  momentValue.hour(0);
453
453
  momentValue.minute(0);
454
454
  momentValue.second(0);
455
- condition[fieldName] = __assign(__assign({}, condition[fieldName]), { $gt: momentValue.toDate() });
455
+ condition[fieldName] = __assign(__assign({}, condition[fieldName]), { $gte: momentValue.toDate() });
456
456
  }
457
457
  if ((0, Utils_1.isNotEmpty)(values[1])) {
458
458
  var momentValue = (0, moment_1.default)(values[1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-mongoose",
3
- "version": "2.1.171",
3
+ "version": "2.1.172",
4
4
  "description": "Lib to make any search in database mongoose and use as basic crud",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -398,7 +398,7 @@ abstract class SearchFlow {
398
398
  momentValue.second(0)
399
399
  condition[fieldName] = {
400
400
  ...condition[fieldName],
401
- $gt: momentValue.toDate()
401
+ $gte: momentValue.toDate()
402
402
  }
403
403
  }
404
404