@dataloop-ai/components 0.19.166 → 0.19.167
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
|
@@ -150,7 +150,11 @@ export function replaceJSDatesWithStringifiedDates(
|
|
|
150
150
|
if (dateKeys.includes(keyToCheck)) {
|
|
151
151
|
if (typeof value === 'object') {
|
|
152
152
|
const testKey = Object.keys(toReturn[key])[0]
|
|
153
|
-
if (
|
|
153
|
+
if (
|
|
154
|
+
['$gt', '$gte', '$lt', '$lte', '$eq', '$neq'].includes(
|
|
155
|
+
testKey
|
|
156
|
+
)
|
|
157
|
+
) {
|
|
154
158
|
toReturn[key][testKey] = formatToStringDate(
|
|
155
159
|
toReturn[key][testKey]
|
|
156
160
|
)
|