c2-mongoose 2.1.346 → 2.1.347
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.
|
@@ -230,9 +230,9 @@ var SearcherFlow = /** @class */ (function () {
|
|
|
230
230
|
}
|
|
231
231
|
if ((0, Utils_1.isNotEmpty)(values[1])) {
|
|
232
232
|
var momentValue = (0, moment_1.default)(values[1]);
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
momentValue.hour(23);
|
|
234
|
+
momentValue.minute(59);
|
|
235
|
+
momentValue.second(59);
|
|
236
236
|
condition[fieldName] = __assign(__assign({}, condition[fieldName]), { $lte: momentValue.tz('America/Sao_Paulo', false).toDate() });
|
|
237
237
|
}
|
|
238
238
|
}
|
package/package.json
CHANGED
package/src/flow/SearcherFlow.ts
CHANGED
|
@@ -205,9 +205,9 @@ class SearcherFlow<D> {
|
|
|
205
205
|
|
|
206
206
|
if (isNotEmpty(values[1])) {
|
|
207
207
|
var momentValue = moment(values[1])
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
momentValue.hour(23)
|
|
209
|
+
momentValue.minute(59)
|
|
210
|
+
momentValue.second(59)
|
|
211
211
|
condition[fieldName] = {
|
|
212
212
|
...condition[fieldName],
|
|
213
213
|
$lte: momentValue.tz('America/Sao_Paulo', false).toDate()
|