@rotorsoft/act-pg 1.19.2 → 1.19.3

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/index.js CHANGED
@@ -508,8 +508,8 @@ var PostgresStore = class {
508
508
  conditions.push(`id<$${values.length}`);
509
509
  }
510
510
  if (created_after) {
511
- values.push(created_after.toISOString());
512
- conditions.push(`created>$${values.length}`);
511
+ values.push(new Date(created_after.getTime() + 1).toISOString());
512
+ conditions.push(`created>=$${values.length}`);
513
513
  }
514
514
  if (created_before) {
515
515
  values.push(created_before.toISOString());