rez_core 5.0.253 → 5.0.254

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "5.0.253",
3
+ "version": "5.0.254",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -1147,11 +1147,6 @@ export class FilterService {
1147
1147
  };
1148
1148
  }
1149
1149
 
1150
- // ============================================
1151
- // BUSINESS DAY OFFSET LOGIC (SKIPS WEEKENDS)
1152
- // ALWAYS ADJUST -1 DAY FOR DB SHIFT
1153
- // ============================================
1154
-
1155
1150
  case 'is_before_business_days': {
1156
1151
  if (isNaN(numVal)) {
1157
1152
  throw new BadRequestException('Value must be a number');
@@ -1160,7 +1155,7 @@ export class FilterService {
1160
1155
  const targetDate = moveBusinessDays(numVal);
1161
1156
 
1162
1157
  return {
1163
- query: `${dateColumn} <= :${key} AND EXTRACT(DOW FROM ${dateColumn}) NOT IN (0, 6)`,
1158
+ query: `${dateColumn} < :${key} AND EXTRACT(DOW FROM ${dateColumn}) NOT IN (0, 6)`,
1164
1159
  params: { [key]: targetDate },
1165
1160
  };
1166
1161
  }