rez_core 5.0.194 → 5.0.197
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
|
@@ -991,7 +991,7 @@ export class FilterService {
|
|
|
991
991
|
})();
|
|
992
992
|
|
|
993
993
|
return {
|
|
994
|
-
query: `${dateColumn}
|
|
994
|
+
query: `${dateColumn} < :${key}`,
|
|
995
995
|
params: { [key]: dayBefore },
|
|
996
996
|
};
|
|
997
997
|
}
|
|
@@ -1108,7 +1108,7 @@ export class FilterService {
|
|
|
1108
1108
|
const targetDate = subtractBusinessDays(numVal);
|
|
1109
1109
|
|
|
1110
1110
|
return {
|
|
1111
|
-
query: `${dateColumn}
|
|
1111
|
+
query: `${dateColumn} < :${key} AND EXTRACT(DOW FROM ${dateColumn}) NOT IN (0, 6)`,
|
|
1112
1112
|
params: { [key]: targetDate },
|
|
1113
1113
|
};
|
|
1114
1114
|
}
|
|
@@ -1131,7 +1131,7 @@ export class FilterService {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
|
|
1133
1133
|
// DB shift -1 day
|
|
1134
|
-
d.setDate(d.getDate() - 1);
|
|
1134
|
+
// d.setDate(d.getDate() - 1);
|
|
1135
1135
|
|
|
1136
1136
|
return d.toISOString().split('T')[0];
|
|
1137
1137
|
})();
|